<?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.9, 1.2);
/*if (NdotL2 < 0) {
    NdotL2 = -NdotL2*3.0;
}*/
return NdotL2 * lightColor * atten;
]]>
            </CodeInjection>
        </CodeInjections>
    </LodLevel>
</CustomShader>
