Hi, i'm wondering if is it possible to apply different shaders (vertex and fragment) on the same osg::Node (not entire scene as RTT image) in this way : The result (ouput) of the first vertex/fragment shader must be used as input of the second vertex/fragment shader. In example, i have used a vertex and fragment to get refraction effect. But, unless i write the proper vertex/fragment code in this refraction shader, i loose lights setting coming from osg code. I would like to set lights using a shader (vertex/fragment) on the osg::Node already affected by refraction shader. Is there any example that show how to get it?
Thank you! Cheers, Andrea ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=53516#53516 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

