SL-10459
Use gl_FragDepth on deferred sun disc to fix z-fighting with sky dome and get layering of sky/stars/sun/moon/clouds correct.meow-7.2.2
parent
6eb180f790
commit
1d1fcb451c
|
|
@ -57,5 +57,7 @@ void main()
|
|||
frag_data[0] = c;
|
||||
frag_data[1] = vec4(0.0f);
|
||||
frag_data[2] = vec4(0.0, 1.0, 0.0, 1.0);
|
||||
|
||||
gl_FragDepth = 0.9997f;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue