[osg-users] Draw two translucent geometries in specific order

Kristofer Krus kristofer.krus at liu.se
Mon May 21 08:29:34 PDT 2018


Hi Robert,

Thanks for your reply.

The problem was that setRenderingHint(osg::StateSet::TRANSPARENT_BIN) was called after I called setRenderBinDetails. While I checked that setRenderBinDetails was not called anywhere else in the code, I didn't know that you could also choose render bin through the setRenderingHint method. Removing the calls to setRenderingHint resolved the problem.

Cheers,
Kristofer

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







More information about the osg-users mailing list