Hi Wojtek,

I guess you had to override either Ocean or LispSM techniuque already.
So you may set _renderOrderNum in overriden code. Depending on which one
you overrode, I believe you may either set 1 for Refraction camera or -1
for Analysis and Shadow cams.

Actually I'm working on osgOcean a lot lately (and I'm co-developer on it so I have commit access). So this is going straight into the osgOcean code. Since the default shadow techniques in OSG all use PRE_RENDER #0 for their shadow pass cameras, it's a safe change to set the refraction one (and other PRE_RENDER passes in osgOcean) to PRE_RENDER #1.

Thanks for your help,

J-S
--
______________________________________________________
Jean-Sebastien Guay    jean-sebastien.g...@cm-labs.com
                               http://www.cm-labs.com/
                    http://whitestar02.dyndns-web.com/
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to