[osg-users] Slave camera lighting with disabled main camera
Robert Osfield
robert.osfield at gmail.com
Wed Jan 10 07:37:01 PST 2018
Ops, don't send modifications without compiling them first...
The View::LightingMode and SceneView::LightingMode aren't compatible
enum's so can't be passed as is. I've spotted a better way of doing
this update, putting into the Renderer::updateSceneView() method along
with the setting of the fusion distance.
Could you test this one?
Robert.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Renderer.cpp
Type: text/x-c++src
Size: 34432 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20180110/7595bec7/attachment-0001.cpp>
More information about the osg-users
mailing list