Commit 7de5e8cd authored by Rye Mutt's avatar Rye Mutt 🍞
Browse files

Fix atmospheric specular reflection being utilized as linear in an srgb portion of shading

parent 9cfbb913
......@@ -123,6 +123,7 @@ void main()
if (spec.a > 0.0) // specular reflection
{
spec.rgb = linear_to_srgb(spec.rgb);
#if 0 //EEP
vec3 npos = -normalize(pos.xyz);
......
......@@ -120,6 +120,7 @@ void main()
if (spec.a > 0.0) // specular reflection
{
spec.rgb = linear_to_srgb(spec.rgb);
#if 0 //EEP
vec3 npos = -normalize(pos.xyz);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment