<?xml version="1.0" encoding="utf-8"?>
<!-- 
	@Name: DynamicExhaustingSystemShader
	@Info: Shader for a dynamic exhausting system
	@Author: Manuel Leithner
	@Team:	SFM-Modding
	@Date:	01/06/2010
	
	@edited by modelleicher to Version 2 Shader for LS 13
	@Date: 26/10/2012
-->
<CustomShader version="2" classRequirement="">
    <LodLevel startDistance="0">
        <Parameters>
            <Parameter name="exhaustingSystem" target="exhaustingSystem" type="float4" />
        </Parameters>				
        <CodeInjections>
            <CodeInjection position="MATERIALINFO">
<![CDATA[
float4 exhaustingSystem;
]]>
            </CodeInjection>
            <CodeInjection position="EMISSIVE_FS">
<![CDATA[
oColor.x = exhaustingSystem.x;
oColor.y = exhaustingSystem.y;
oColor.z = exhaustingSystem.z;
oColor.w *= exhaustingSystem.w;
]]>
	        </CodeInjection>
        </CodeInjections>
    </LodLevel>
</CustomShader>
