Hi SMesserschmidt, many thanks for your answer! It really helps for a newbie like me if he reads the confirmation, that it is not related to his OSG Code but to Shader. I was struggling with this a whole week and did not know where to look. I did not initialized the vec4 color var in my method, which could be part of the problem. After I did this, it still did not work on every maschine, but in some more. What finally was the answer was a piece of false code in the shader, which existed there since the beginning and which I overlooked for a whole week. Shame on me, I dunno how i did that.... Anyway, these two lines were faulty: color += gl_FrontMaterial.ambient * gl_LightSource[lightIndex].ambient[lightIndex]; color += gl_BackMaterial.ambient * gl_LightSource[lightIndex].ambient[lightIndex]; ambient is of course not an array! I really dunno why my AMD drivers did let that error pass... Again, many thanks for taking your time to answer me!
Thank you! Cheers, Fitz ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=59790#59790 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

