View previous topic :: View next topic |
Author |
Message |
cyberfriend Guest
|
Posted: Mon May 11, 2009 8:32 pm Post subject: Shader Graph |
|
|
For learning purpose and in order to deal with the shader permutation issue, I have decided to implement a basic Shader Graph.
As you might know some Shader Graphs don't support vertexcode they only create pixelcode. In my project I have chosen to deal with both vertex and pixel code. Therefore I need to deal with generic codes. For example basic nodes like arithmetics such as Add, Subtract, Multiply should be generic nodes so that they can be used both in pixel shader and in vertex shader. Generic nodes are handled as vertex code by default, only if there is pixel code dependecy then that generic node is set to be pixel code. The main question I have is how is this generally handled in Shader Graphs that support vertex AND pixel code? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|