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

<CustomShader version="5">
    <UvUsages/>
    <LodLevel startDistance="0">
        <CodeInjections>
            <CodeInjection position="GET_NORMAL_VS">
<![CDATA[
    return In.normal.xyz * 2 - 1;
]]>
            </CodeInjection>
            <CodeInjection position="GET_LIGHTING_FS">
<![CDATA[
    normal = lightDir * 0.5f;   // force NdotL = 0.5 regardless of normal
]]>
            </CodeInjection>
            <CodeInjection position="ALPHA_FS">
<![CDATA[
#if defined(ALPHA_BLENDED)
    reflectingLightingScale = alpha;
#endif
]]>
            </CodeInjection>
        </CodeInjections>
    </LodLevel>
</CustomShader>
