Thank you Robert,
that is exactly the problem, it seems from the source code that the
shader doesn't support GL_COLOR_MATERIAL enabled, in order to do so I
think one should write another shader that reads the current color and
not the current material.diffuse component.
Also it seems that the effect doesn't show up specular highlights, do
you see any specular highlights in your models?

Thanks,
Michele
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to