[osg-users] Multipass shading, black texture coming out of the first pass
usedformailinglists at googlemail.com
Wed Oct 17 11:25:46 PDT 2007
thanks for your answerer. I modified my code the last days a lot. Now I
am sure that my shaders are executed.
Now I still have the same problem like you. I always get the last shader
To add the shaders to the graph I use that code:
Shader* invertShader = new Shader(Shader::INVERT, false, NULL, 0);
Shader* discardShader = new Shader(Shader::DISCARD, true,
I add my new code if you want take a look in.
Hope we will find a way to solve that problem. I am still on it.
Please let me know when you found out something.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1674 bytes
Desc: not available
More information about the osg-users