Resolve "enh(viz): scene ambient colour is not used for DVR"
Description
The ambient lighting is now used in volume rendering. We also took the opportunity to make it more consistent globally, including for surface rendering.
- default surface ambient to 0.8 (they reflect the ambient lighting if it is present)
- scene ambient light to 0.05 (globally we set a very light ambient lighting)
It was set the other way around before and was less relevant. If one wanted to increase this lighting component, he had no choice but to edit all scene objects. Ambient lighting must not be confused with emissive or diffuse without lights.
How to test it?
- Run sight_viewer
- Load an image
- Go in the lights tab
- Change the ambient scene color
- Observe the volume rendering is affected
Related issue(s)
Closes #895 (closed)
Edited by Flavien BRIDAULT