Hi,

I'm want to desaturate a model in my scene that is loaded as an ive file. I 
have a glsl shader that does the desaturation but I need to pass the texture id 
as argument to the shader. My problem is how to get the texture id(s) from the 
model node.

I guess I need to create a node visitor to apply the shader to all geodes in 
the model but whats the propper way to get the texture ids? 

Thank you!

Cheers,
Miroslav

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=13205#13205





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to