A quick follow-up, 
when I changed the billboard technique to rotate the billboards to be 
perpendicular to the camera-to-object-direction I got correct shadow casting.

This method rotates the billboard in model space leaving the model-view-matrix 
unchanged. For my purpose (vegetation rendering) the result is almost the same 
as screen aligned billboards so the problem is kind of solved.

Cheers,
Johan

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





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

Reply via email to