Eevee: Fix broken AO and Contact shadows on certain platform.
This was caused by ce0f70fbd6
This commit is contained in:
parent
0ef981f603
commit
2464dcef37
|
@ -70,7 +70,6 @@ void main()
|
|||
#if defined(GPU_INTEL) || defined(GPU_ATI)
|
||||
/* Use color format instead of 24bit depth texture */
|
||||
fragColor = vec4(val);
|
||||
#else
|
||||
gl_FragDepth = val;
|
||||
#endif
|
||||
gl_FragDepth = val;
|
||||
}
|
Loading…
Reference in New Issue