One more point to add onto the problem is that I guess the actual problem is that in the debugger I receive the message:
Warning: detected OpenGL error 'invalid operation' at after RenderBin::draw(..) Is there any way to actually working out what is causing this error, it only every occurs if in any combination of GLSL code the texel of a textureCube is any in way blended with a texel of a texture2D. Even the following statement doesn't work. Code: vec4 red = vec4(1.0,0.0,0.0,1.0); if(reflectionColor.r > 0.5) gl_FragColor = red; else gl_FragColor = diffuseColor; ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=41763#41763 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

