RTShaderLib HLSL / CG

Problems building or running the engine, queries about how to use features etc.
Post Reply
Posts: 7
Joined: Thu Feb 14, 2019 11:27 am

RTShaderLib HLSL / CG

Post by Hilarius86 » Mon Apr 29, 2019 6:10 pm

Ogre Version: :1.11.5:
Self-compiled with recommended dependencies
Operating System: :Win10x64:
Render System: :DirectX11:

RTShaderLib\materials\DualQuaternionSkinning_Shadow.material defines


which in turn uses

source DualQuaternionSkinning_Shadow.hlsl

RTShaderLib/HLSL and said file are no longer part of media as were until 1.11.3.

The old HLSL files are "broken" as in causing compile errors. Any hints on working this one out?
0 x

OGRE Team Member
OGRE Team Member
Posts: 950
Joined: Sun Mar 30, 2014 2:51 pm
x 222

Re: RTShaderLib HLSL / CG

Post by paroj » Mon Apr 29, 2019 11:40 pm

You should go for the 1.12/ master branch as the RTSS has been largely rewritten there. Note that the master branch is quite stable as Ogre 1.12 will be released in the next few days.

The shadows will look like this on master:

which is quite close given that the same shaders work as expected when used through D3D9/ Cg.

If you want to work on the D3D11 shaders (which is very appreciated), you might get some inspiration here:
https://bitbucket.org/sinbad/ogre/pull- ... v2/commits

However, the discussion here:
0 x

Post Reply