Hi Vincent,

Skybox in second or render first is the same result...

See the article Andreas linked, it's not the same. Visually it is, but not in terms of z buffer.

Plus, if you have expensive shaders on your skybox, rendering it first guarantees that they will be run for the whole screen, whereas rendering it second guarantees they will be run for less than the whole screen (if you have something else than your skybox in your scene... :-) )

Conceptually, the skybox is only there for any pixels where there is no other object. So why not render it last, once you know which pixels are occupied by other objects? (except transparent objects of course, they still need to be rendered after the skybox)

J-S
--
______________________________________________________
Jean-Sebastien Guay    [EMAIL PROTECTED]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to