Ogre Version: :1.11.5:
Self-compiled with recommended dependencies
Operating System: :Win10x64:
Render System: :DirectX11:
RTShaderLib\materials\DualQuaternionSkinning_Shadow.material defines
Ogre/RTShader/shadow_caster_dq_ps_hlsl
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?
[Solved] RTShaderLib HLSL / CG
-
- Halfling
- Posts: 48
- Joined: Thu Feb 14, 2019 11:27 am
- x 8
[Solved] RTShaderLib HLSL / CG
Last edited by Hilarius86 on Tue Jul 21, 2020 8:50 am, edited 1 time in total.
-
- OGRE Team Member
- Posts: 1994
- Joined: Sun Mar 30, 2014 2:51 pm
- x 1074
- Contact:
Re: RTShaderLib HLSL / CG
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:
https://github.com/OGRECave/ogre/issues/973
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:
https://github.com/OGRECave/ogre/issues/973