> I use below code to see if the vertex is occluded or not by 
> objects infront of it. This is apart of the lighting check to 
> see if the lightalgoritm needs to be runned on the pixel.

I assume you are already confident that your lighting algorithm is
sufficiently complex to merit this type of checking? In other words, have
you tried just turning lighting on without doing the occlusion check, and
have you profiled your code and you know that lighting is the problem?
   -Paul

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

Reply via email to