RenderKit / ospray

An Open, Scalable, Portable, Ray Tracing Based Rendering Engine for High-Fidelity Visualization
http://ospray.org
Apache License 2.0
1k stars 182 forks source link

Ambient occlusion does not work on volumes #345

Closed StasJ closed 4 years ago

StasJ commented 5 years ago

In my current setup, ambient occlusion works with geometries.

aoTransparencyEnabled does not have an impact singleShade does not have an impact gradientShadingEnabled is set to true

If only one sample is used, black spots appear on the border of the volume but these go away as samples are increased.

ao

The white area is the same bug as in #335

jeffamstutz commented 4 years ago

All ambient lighting features in volumes are implemented in the pathtracer, thus this is now obsolete.