Hi,

I'm implementing a simple sun walk into skydome, calculating the light color 
during day. I'm using osgocean. To setup the ocean scene accordingly with the 
light color variation, I have to set the light color in osgocean itself via 
setLightColor. This works but setLightColor dirty the shader anytime and I see 
a "latch" into the scene when this happens. 

You can suggest to me a workaround to avoid the latch? Obviously I don't sets 
the ocean light color any microsecond, I update the light any 5 secs.

Thank you!

Cheers,
Dario

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





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to