Skip to content
Snippets Groups Projects
Commit ae0aed29 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Forgot a file in light gamma fixes

parent d5474c8a
No related branches found
No related tags found
No related merge requests found
...@@ -38,9 +38,6 @@ out vec4 frag_color; ...@@ -38,9 +38,6 @@ out vec4 frag_color;
uniform sampler2DRect diffuseRect; uniform sampler2DRect diffuseRect;
uniform sampler2DRect specularRect; uniform sampler2DRect specularRect;
uniform sampler2DRect depthMap;
uniform sampler2DRect normalMap;
uniform samplerCube environmentMap;
uniform sampler2D noiseMap; uniform sampler2D noiseMap;
uniform sampler2D projectionMap; uniform sampler2D projectionMap;
uniform sampler2D lightFunc; uniform sampler2D lightFunc;
...@@ -176,7 +173,6 @@ void main() ...@@ -176,7 +173,6 @@ void main()
vec3 diff_tex = texture2DRect(diffuseRect, frag.xy).rgb; vec3 diff_tex = texture2DRect(diffuseRect, frag.xy).rgb;
//light shaders output linear and are gamma corrected later in postDeferredGammaCorrectF.glsl //light shaders output linear and are gamma corrected later in postDeferredGammaCorrectF.glsl
diff_tex.rgb = srgb_to_linear(diff_tex.rgb);
vec4 spec = texture2DRect(specularRect, frag.xy); vec4 spec = texture2DRect(specularRect, frag.xy);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment