Changes:

shaders\common\lighting\advanced\vectorLightP.hlsl, line 203

Code: Select all

` float dotNL = dot(-lightDirection, normal); `

Code: Select all

` float dotNL = clamp(smoothstep(0.4, 0.43, dot(-lightDirection, normal)), 0.2, 1.0); `

Code: Select all

` float nDotL = dot( lightVec, normal ); `

Code: Select all

` float nDotL = clamp(smoothstep(0.4, 0.43, dot( lightVec, normal )), 0.2, 1.0); `

Code: Select all

` float nDotL = dot( normal, -lightToPxlVec ); `

Code: Select all

` float nDotL = clamp(smoothstep(0.4, 0.43, dot( normal, -lightToPxlVec )), 0.2, 1.0); `