Hi all

I implemented a particle system using pointsprites, using fixed function 
pipeline. Now I have the requirement that the particles must react to lighting. 
I tried everything, but somehow my points don't care.

I know  I can do my own thing by implementing a shader program, but first I 
wonder if there is a limitation for point sprites to not beeing able to be 
illuminated by default. Or maybe it is a bug in my application, but normally by 
setting

_dstate->setMode(GL_LIGHTING, osg::StateAttribute::ON);

everything is taken care of...

Thank you!

Cheers,
Daniel

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=51459#51459





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to