
Changes:
shaders\common\lighting\advanced\vectorLightP.hlsl, line 203
Code: Select all
float dotNL = dot(-lightDirection, normal);
to
Code: Select all
float dotNL = clamp(smoothstep(0.4, 0.43, dot(-lightDirection, normal)), 0.2, 1.0);
shaders\common\lighting\advanced\pointLightP.hlsl, line 163
Code: Select all
float nDotL = dot( lightVec, normal );
to
Code: Select all
float nDotL = clamp(smoothstep(0.4, 0.43, dot( lightVec, normal )), 0.2, 1.0);
shaders\common\lighting\advanced\spotLightP.hlsl, line 99
Code: Select all
float nDotL = dot( normal, -lightToPxlVec );
to
Code: Select all
float nDotL = clamp(smoothstep(0.4, 0.43, dot( normal, -lightToPxlVec )), 0.2, 1.0);
A more difficult to install version that includes object outlines is currently in progress.
