Hi, You need to use shadow2D instead of texture2D to sample a sampler2DShadow in older GLSL versions.
Cheers, Chris ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=76668#76668 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org