From HLSL to RTShaderSystem

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
User avatar
vilgeits
Goblin
Posts: 298
Joined: Tue Aug 02, 2005 10:41 pm

From HLSL to RTShaderSystem

Post by vilgeits »

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.
bstone
OGRE Expert User
OGRE Expert User
Posts: 1920
Joined: Sun Feb 19, 2012 9:24 pm
Location: Russia
x 201

Re: From HLSL to RTShaderSystem

Post by bstone »

RTSS is most useful when you have no shaders :D 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.
Post Reply