Commit 4e61435c authored by Rye Mutt's avatar Rye Mutt 🍞
Browse files

Fix inconsistency of application of amb_da between class1 spotLightF and...

Fix inconsistency of application of amb_da between class1 spotLightF and class1 multiSpotF, class 2 spotlight shaders
parent df895cf6
......@@ -195,7 +195,7 @@ void main()
lit = da * dist_atten * noise;
col = dlit*lit*diff_tex;
//amb_da += (da*0.5)*(1.0-shadow)*proj_ambiance;
amb_da += (da*0.5)*proj_ambiance;
}
//float diff = clamp((proj_range-proj_focus)/proj_range, 0.0, 1.0);
vec4 amb_plcol = texture2DLodAmbient(projectionMap, proj_tc.xy, proj_lod);
......
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