OpenChemistry / avogadrolibs

Avogadro libraries provide 3D rendering, visualization, analysis and data processing useful in computational chemistry, molecular modeling, bioinformatics, materials science, and related areas.
https://two.avogadro.cc/
BSD 3-Clause "New" or "Revised" License
443 stars 171 forks source link

Updated ambient occlusion rendering (VdW AO and VdW) #582

Closed ghutchis closed 2 years ago

ghutchis commented 3 years ago

One approach is in Speck: http://wwwtyro.github.io/speck/

The shaders include AO and depth of field, along with a few options. https://github.com/wwwtyro/speck

render-2

ghutchis commented 3 years ago

render-3

ghutchis commented 3 years ago

For reference, the shader code is posted under the "unlicense"

ghutchis commented 2 years ago

Fixed by #1135 / #1123