molstar / molstar

A comprehensive macromolecular library
https://molstar.org
MIT License
596 stars 139 forks source link

SSAO use of getMappedDepth instead of getDepth inside normal evaluation #1130

Open giagitom opened 2 weeks ago

giagitom commented 2 weeks ago

@corredD @arose
Shouldn't it be conceptually better to use getMappedDepth instead of getDepth during normal evaluation inside viewNormalAtPixelPositionAccurate ?

I did some tests and there are appreciable differences