remove pointless buffer write

This commit is contained in:
Xonk
2026-04-21 17:45:38 -04:00
parent 59e3874f63
commit 3b2c6ccf0f
+1 -4
View File
@@ -2,7 +2,7 @@ uniform sampler2D colortex2;
uniform sampler2D colortex14;
uniform sampler2D depthtex1;
/* RENDERTARGETS:2,14 */
/* RENDERTARGETS:2 */
void main() {
// write voxy forward rendered color buffer into vanilla forward rendered color buffer
@@ -11,7 +11,4 @@ void main() {
if(texelFetch(depthtex1, ivec2(gl_FragCoord.xy), 0).r < 1.0) voxyForwardColor = vec4(0.0,0.0,0.0,0.0);
gl_FragData[0] = texelFetch(colortex2, ivec2(gl_FragCoord.xy), 0).rgba + voxyForwardColor;
// clear colortex14 ( nothing is written to it but voxy forward color at this time )
gl_FragData[1] = vec4(0.0,0.0,0.0,0.0);
}