enh(viz): scene ambient colour is not used for DVR
Description
Currently, changing scene ambient colour does not impact volume rendering.
Scene ambient colour is not taken in count either.
Steps to reproduce
- Open Sight Viewer and load an image.
- Open the light tab.
- Play with the scene ambient colour.
- Nothing happens.
Proposal
This happens simply because we ignore the ambient colour in the shader. It could be taken into account at two moments:
- Each sample (by weighting its opacity). I think this may cause colour saturation too quickly and I'm therefore not too fond of that.
- At the end of the volume ray-casting pass.
Functional specifications
Ambient colour has an impact on the scene visual.
Technical specifications
TBA.
Test plan
TBA.