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

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