I want to get the background color that has changed over time, what should I do?

classic Classic list List threaded Threaded
1 message Options
newlife958 newlife958
Reply | Threaded
Open this post in threaded view
|

I want to get the background color that has changed over time, what should I do?


I want to get the brightness value of the current scene, but I can't get the value properly.

When I run the code below to get the value

_Sky->getSunLight()->getAmbient() or
  _Viewer->getCamera()->getClearColor()

The value that is passed is always a constant value regardless of the background color according to the change in time.

How do I get the correct background value for my scene now?

cheers.