Jean-Sébastien Guay wrote:
what I want. And I can't disable depth test or anything like that
because my particles are supposed to interact with other objects, for
example be contained in a shovel.
Another idea: draw your point sprites after all the opaque geometry, with depth
write disabled and depth test enabled. Then they will interact in z correctly
with other objects in your scene. This will result in some visual artifacts due
to incorrect ordering of the point sprites, of course, but perhaps your users
will tolerate that.
--
-Paul Martz Skew Matrix Software
http://www.skew-matrix.com/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org