ledocc wrote: > > bug fix: > - ViewDirection = normalize(eyePosition - fvObjectPosition.xyz); > + ViewDirection = normalize( - fvObjectPosition.xyz); >
I already had tried before, but does not solve the problem. If you disable the shader, with the standard osg lighting, gives me no problems, the model normals are well. If approached the camera at a distance close enough to the model, everything is fine, but if you walk away a bit, whole model is lit regardless of the position of the light ... Thanks for the answer! ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=32342#32342 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

