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