Golgoth
12-18-2006, 12:25 PM
Hi all!
I ve been processing this in my mind for awhile and push it back till I have no other choice but to solve this issue. So here we go…
Lets say we make transformations to a mesh in a shader.
First pass: Draw mesh with shader and transform it, SRT and/or vertex morphing of any kind.
For instance, to illustration that the mesh is being selected I would like to draw the mesh on top of the current one but in wire frame and without lighting.
The question is... Once the mesh have been transformed in a shader, is it possible to send or get back the resulting transformations to/in the FFP?
Do I need to draw it once more with another shader? any other possibilities?
thx
I ve been processing this in my mind for awhile and push it back till I have no other choice but to solve this issue. So here we go…
Lets say we make transformations to a mesh in a shader.
First pass: Draw mesh with shader and transform it, SRT and/or vertex morphing of any kind.
For instance, to illustration that the mesh is being selected I would like to draw the mesh on top of the current one but in wire frame and without lighting.
The question is... Once the mesh have been transformed in a shader, is it possible to send or get back the resulting transformations to/in the FFP?
Do I need to draw it once more with another shader? any other possibilities?
thx