Blender Git Loki

Git Commits -> Revision 84f98e2

Revision 84f98e2 by Clément Foucault (master)
September 21, 2021, 14:39 (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: 84f98e28e384f1245c11a81da57e74fa6130d286
Parent Commit: 3395523
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021