forgot to turn a debugging view off lol

This commit is contained in:
Xonk 2024-06-28 15:34:14 -04:00
parent f3f75bcf38
commit 731cf854d3
2 changed files with 2 additions and 2 deletions

View File

@ -1340,7 +1340,7 @@ void main() {
#endif #endif
// gl_FragData[0].rgb = albedo*30; // gl_FragData[0].rgb = albedo*30;
// gl_FragData[0].rgb = vec3(1) * Shadows; // gl_FragData[0].rgb = vec3(1) * Shadows;
if(swappedDepth >= 1.0) gl_FragData[0].rgb = vec3(0.1); // if(swappedDepth >= 1.0) gl_FragData[0].rgb = vec3(0.1);
// gl_FragData[0].rgb = vec3(1) * ld(texture2D(depthtex1, texcoord).r); // gl_FragData[0].rgb = vec3(1) * ld(texture2D(depthtex1, texcoord).r);
// if(texcoord.x > 0.5 )gl_FragData[0].rgb = vec3(1) * ld(texture2D(depthtex0, texcoord).r); // if(texcoord.x > 0.5 )gl_FragData[0].rgb = vec3(1) * ld(texture2D(depthtex0, texcoord).r);

View File

@ -1,4 +1,4 @@
#define SHADER_VERSION_LABEL 471 // [471] #define SHADER_VERSION_LABEL 472 // [472]
#define saturate(x) clamp(x,0.0,1.0) #define saturate(x) clamp(x,0.0,1.0)