<?xml version="1.0" encoding="utf-8" standalone="no" ?>

<CustomShader version="1.0" classRequirement="">
    <LodLevel startDistance="0">
        <CodeInjections>
            <CodeInjection position="GET_DIFFUSE_LIGHTING_FS">
<![CDATA[
float NdotL2 = clamp(dot(lightDir, normal), 0.7, 1.0);
/*if (NdotL2 < 0) {
    NdotL2 = -NdotL2*0.8;
}*/
return NdotL2 * lightColor * atten;
]]>
            </CodeInjection>
        </CodeInjections>
    </LodLevel>
</CustomShader>
