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

<CustomShader version="1.0" classRequirement="">
    <LodLevel startDistance="0">
        <Parameters>
            <Parameter name="color2" target="In.mat.color2" type="float3"/>
        </Parameters>
				
        <CodeInjections>
	        <CodeInjection position="NUM_TEXCOORDS">
<![CDATA[
#ifdef ALPHA_TESTED
#undef ALPHA_TESTED
#endif
]]>
            </CodeInjection>
            <CodeInjection position="MATERIALINFO">
<![CDATA[
uniform float3 color2;
]]>
            </CodeInjection>
            <CodeInjection position="POST_ALBEDO_FS">
<![CDATA[
albedo.xyz = lerp(albedo.xyz, albedo.xyz*In.mat.color2.xyz, albedo.w);
]]>
	        </CodeInjection>
        </CodeInjections>
    </LodLevel>
</CustomShader>
