Hi Michele, Cell shading doesn't have specular highlights normally, if you want this you'd need to do it in a custom shader. What you may need to do is subclass from osgFX::Carton to add your own shaders, or just set up the scene graph by hand to do the effect you want.
Robert. On Dec 17, 2007 4:41 PM, Michele Bosi <[EMAIL PROTECTED]> wrote: > 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 > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

