Blender Git Commit Log

Git Commits -> Revision f2e96c2

September 22, 2021, 06:33 (GMT)
Fix T87801: Eevee ambient occlusion is incorrect on M1 macMini

The issue was caused by `textureSize()` returning the size of the level 0
even when the min texture level is higher than 0.

Using a uniform to pass the correct size fixes the issue.

This issue also affected the downsampling of radiance for reflections and
refractions.

This does not affect anything other than the recusive downsampling shaders.

Commit Details:

Full Hash: f2e96c2473a2c638faeea6bd5544d4dcdccc8a36
Parent Commit: 934c724
Committed By: Jeroen Bakker
Lines Changed: +40, -16

3 Modified Paths:

/source/blender/draw/engines/eevee/eevee_effects.c (+19, -5) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_downsample_frag.glsl (+9, -4) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_minmaxz_frag.glsl (+12, -7) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021