Hi, I modified the main vertex shader of the standard shadow map to allow for user defined clipplanes. This is actually just one line added to the main:
gl_ClipVertex = gl_ModelViewMatrix * gl_Vertex; Hope this helps. Cheers, Vivien ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=37158#37158 Attachments: http://forum.openscenegraph.org//files/standardshadowmap_923.cpp _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
