Blender Git Commit Log

Git Commits -> Revision 359058f

June 6, 2017, 09:22 (GMT)
Clay Engine: Improve sampling of SSAO

Replace completly random noise by Blue noisen, giving a better aspect.
Also randomize the distance in the sample direction to cover the whole distance even with 1 sample. Using another blue noise for this.
Replace spiral samples (that had tendency to align if the number of samples was near the chosen constant) with Hammersley samples that have good coverage even for low number of samples.
Use a UBO instead of Texture (a bit less latency) making things a tiny bit faster.
Move the noise data to the SceneLayerData, because each render layer can have a different sample count.

Commit Details:

Full Hash: 359058f4b21f745f95d3de50abf7704cd98f4892
Parent Commit: e4591d3
Committed By: Antonio Vazquez
Lines Changed: +100, -56

3 Modified Paths:

/source/blender/draw/engines/clay/clay_engine.c (+85, -47) (Diff)
/source/blender/draw/engines/clay/shaders/clay_frag.glsl (+4, -1) (Diff)
/source/blender/draw/engines/clay/shaders/ssao_alchemy.glsl (+11, -8) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021