Commit 71be9d42 authored by Rye Mutt's avatar Rye Mutt 🍞
Browse files

Fix a small bug in class1 spotLightF where as diff_tex was being applied twice for projector

parent a2eefed1
......@@ -205,7 +205,7 @@ void main()
amb_da *= dist_atten * noise;
amb_da = min(amb_da, 1.0-lit);
col += amb_da*color.rgb*diff_tex.rgb*amb_plcol.rgb*amb_plcol.a*diff_tex.rgb;
col += amb_da*color.rgb*diff_tex.rgb*amb_plcol.rgb*amb_plcol.a;
if (spec.a > 0.0)
Supports Markdown
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