Page 1 of 1

RTShaderLib HLSL / CG

Posted: Mon Apr 29, 2019 6:10 pm
by Hilarius86
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?

Re: RTShaderLib HLSL / CG

Posted: Mon Apr 29, 2019 11:40 pm
by paroj
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: ... v2/commits

However, the discussion here: