Remove unused textures

This commit is contained in:
Malin E
2023-03-02 15:31:10 +01:00
parent 896ca0f108
commit fedbf9a31e
3 changed files with 3 additions and 28 deletions

View File

@@ -31,8 +31,6 @@ uniform float opacity = 1.0;
uniform sampler2D colorTexture;
uniform sampler2D depthTexture;
uniform sampler2D positionTexture;
uniform sampler2D normalTexture;
Fragment getFragment() {
Fragment frag;
@@ -46,8 +44,6 @@ Fragment getFragment() {
frag.color.a = opacity * textureColor.a;
frag.depth = denormalizeFloat(texture(depthTexture, vs_st).x);
frag.gPosition = texture(positionTexture, vs_st);
frag.gNormal = vec4(texture(normalTexture, vs_st).rgb, 0.0);
frag.disableLDR2HDR = true;
return frag;