[osg-users] Slave camera lighting with disabled main camera

Ravi Mathur ravidavi at utexas.edu
Wed Jan 10 12:53:25 PST 2018


No worries, thank you for looking into it anyway. :)

To be honest, I don't think that "fixing" this behavior within OSG is worth
it. The code additions to ViewerBase::renderingTraversals() would be
duplicated from Renderer and SceneView, and would only benefit fringe cases
where the user wants NO_LIGHT with an explicitly disabled master camera.

I'm fine with the solution I outlined before (manually disabling
GL_LIGHTING on master camera). Plus as you said, most lighting management
should be done by the user anyway.

Ravi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20180110/46ab5c71/attachment.html>


More information about the osg-users mailing list