I'm introducing myself into the RTShaderSystem to upgrade my test to DX11.
Currently I've lots of hlsl custom shaders. Reading the wiki I notice that RTShaderSystem is works great to uses Ogrematerials in dx11 and so, and there is also chance to write your own effects...
But there is any easy way to translate my shaders to this new paradigm?
Thank you in advance.
From HLSL to RTShaderSystem
-
- OGRE Expert User
- Posts: 1920
- Joined: Sun Feb 19, 2012 9:24 pm
- Location: Russia
- x 201
Re: From HLSL to RTShaderSystem
RTSS is most useful when you have no shaders Porting shaders to RTSS might not be an easy thing. If your shaders are custom effects for the most part then it will take some real effort. If on the other hand you can break your shaders into repeatedly reused parts then porting them to RTSS will be easier as long as you can create and effectively reuse sub render states. Even better if you can simply implement your shaders in terms of the existing sub render states that are part of RTSS.