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

<CustomShader version="1.0" classRequirement="">
    <LodLevel startDistance="0">
        <Parameters>
            <Parameter name="colorScale" target="In.mat.colorScale" type="float3" defaultValue="1 1 1"/>
        </Parameters>
        <CodeInjections>
            <CodeInjection position="MATERIALINFO">
<![CDATA[
uniform float3 colorScale;
]]>
            </CodeInjection>
            <CodeInjection position="POST_ALBEDO_FS">
<![CDATA[
albedo.xyz *= In.mat.colorScale.xyz;
]]>
            </CodeInjection>
        </CodeInjections>
    </LodLevel>
</CustomShader>
