Hi all

I'm thinking of a solution to prevent self shadowing for billboards:

If I can determine the radius of the billboard, and verify that the surface 
that casts shadow on the billboard is further away that the radius, I could 
make sure that all objects can cast shadows on the billboard, but not the 
billboard itself...
Does anybody have an idea how this could look in GLSL? What is the actual 
return value given back by shadow2DProj? Is it the distance from the

I use VDSM as a shadow technique (derived from actually), and I build my shadow 
receiving shader with the ShaderGenerator class.

Regards
Daniel


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

Reply via email to