<Buffer = glowBuff1>screen/4 screen/4</Buffer>
<Buffer = glowBuff2>screen/8 screen/8</Buffer>
<Buffer = glowBuff3>screen/16 screen/16</Buffer>
<Buffer = glowBuff32>screen/16 screen/16</Buffer>
<Buffer = glowBuff22>screen/8 screen/8</Buffer>
<Buffer = glowBuff12>screen/4 screen/4</Buffer>

<Effect>
  <Name>sepia</Name>  
  <FadeInTime>600</FadeInTime>
  <FadeOutTime>50000</FadeOutTime>
  <EndTime>50600</EndTime>
  <FadeInFunction>Linear</FadeInFunction>
  <FadeOutFunction>InverseLinear</FadeOutFunction>
  <InitialStart>0</InitialStart>
  <Phase>
    <Name>Phase1</Name>
    <SetRenderTarget>RenderTarget</SetRenderTarget>
    <Overlay>
      <Name>SepiaFilter</Name>
    </Overlay>
  </Phase>
</Effect>
<Effect>
  <Name>invert</Name>  
  <FadeInTime>0</FadeInTime>
  <FadeOutTime>-1</FadeOutTime>
  <EndTime>0</EndTime>
  <FadeInFunction>None</FadeInFunction>
  <FadeOutFunction>None</FadeOutFunction>
  <InitialStart>0</InitialStart>
  <Phase>
    <Name>Phase1</Name>
    <SetRenderTarget>RenderTarget</SetRenderTarget>
    <Overlay>
      <Name>Invert</Name>
    </Overlay>
  </Phase>
</Effect>
<Effect>
  <Name>glow</Name>
  <FadeInTime>500</FadeInTime>
  <FadeOutTime>-1</FadeOutTime>
  <EndTime>2000</EndTime>
  <FadeInFunction>Linear</FadeInFunction>
  <FadeOutFunction>InverseLinear</FadeOutFunction>
  <InitialStart>1</InitialStart>
  <Phase>
    <Name>Phase1</Name>
    <SetRenderTarget>glowBuff1</SetRenderTarget>
    <Overlay>
      <Name>DownSampleGlow</Name>
      <Float>blurStrength = 1.5</Float>
    </Overlay>
    <SetTexture>glowBuff1</SetTexture>
    <SetRenderTarget>glowBuff2</SetRenderTarget>
    <Overlay>
      <Name>DownSample</Name>
    </Overlay>
    <SetTexture>glowBuff2</SetTexture>
    <SetRenderTarget>glowBuff3</SetRenderTarget>
    <Overlay>
      <Name>DownSample</Name>
    </Overlay>
    <SetTexture>glowBuff3</SetTexture>
    <SetRenderTarget>glowBuff32</SetRenderTarget>
    <Overlay>
      <Name>GaussianFilterX</Name>
      <Float>blurStrength = 3</Float>
    </Overlay>
    <SetTexture>glowBuff32</SetTexture>
    <SetRenderTarget>glowBuff3</SetRenderTarget>
    <Overlay>
      <Name>GaussianFilterY</Name>
    </Overlay>
    <SetTexture>glowBuff3</SetTexture>
    <SetRenderTarget>glowBuff2</SetRenderTarget>
    <Overlay>
      <Name>Add</Name>
    </Overlay>
    <SetTexture>glowBuff2</SetTexture>
    <SetRenderTarget>glowBuff22</SetRenderTarget>
    <Overlay>
      <Name>GaussianFilterX</Name>
      <Float>blurStrength = 2.5</Float>
    </Overlay>
    <SetTexture>glowBuff22</SetTexture>
    <SetRenderTarget>glowBuff2</SetRenderTarget>
    <Overlay>
      <Name>GaussianFilterY</Name>
    </Overlay>
    <SetTexture>glowBuff2</SetTexture>
    <SetRenderTarget>glowBuff1</SetRenderTarget>
    <Overlay>
      <Name>Add</Name>
    </Overlay>
    <SetTexture>glowBuff1</SetTexture>
    <SetRenderTarget>glowBuff12</SetRenderTarget>
    <Overlay>
      <Name>GaussianFilterX</Name>
      <Float>blurStrength = 2.2</Float>
    </Overlay>
    <SetTexture>glowBuff12</SetTexture>
    <SetRenderTarget>glowBuff1</SetRenderTarget>
    <Overlay>
      <Name>GaussianFilterY</Name>
    </Overlay>
    <SetTexture>glowBuff1</SetTexture>
    <SetRenderTarget>RenderTarget</SetRenderTarget>
    <Overlay>
      <Name>AddRT</Name>
    </Overlay>
  </Phase>
</Effect>
<Effect>
  <Name>smoke</Name>
  <FadeInTime>600</FadeInTime>
  <FadeOutTime>-1</FadeOutTime>
  <EndTime>1600</EndTime>
  <FadeInFunction>Linear</FadeInFunction>
  <FadeOutFunction>InverseLinear</FadeOutFunction>
  <InitialStart>0</InitialStart>
  <Phase>
    <Name>Phase1</Name>
    <Overlay>
      <Name>Smoke</Name>
    </Overlay>
  </Phase>
</Effect>
<Effect>
  <Name>heat</Name>
  <FadeInTime>600</FadeInTime>
  <FadeOutTime>-1</FadeOutTime>
  <EndTime>1600</EndTime>
  <FadeInFunction>Linear</FadeInFunction>
  <FadeOutFunction>InverseLinear</FadeOutFunction>
  <InitialStart>0</InitialStart>
  <Phase>
    <Name>Phase1</Name>
    <SetRenderTarget>RenderTarget</SetRenderTarget>
    <Overlay>
      <Name>Heat</Name>
    </Overlay>
  </Phase>
</Effect>
<Effect>
  <Name>Clear</Name>
  <FadeInTime>50</FadeInTime>
  <FadeOutTime>60</FadeOutTime>
  <EndTime>100</EndTime>
  <FadeInFunction>Linear</FadeInFunction>
  <FadeOutFunction>InverseLinear</FadeOutFunction>
  <InitialStart>0</InitialStart>
  <Phase>
    <Name>Phase1</Name>
    <SetRenderTarget>buff3</SetRenderTarget>
    <Overlay>
      <Name>Clear</Name>
    </Overlay>
  </Phase>
</Effect>
<Effect>
  <Name>radialblur</Name>
  <FadeInTime>250</FadeInTime>
  <FadeOutTime>-1</FadeOutTime>
  <EndTime>750</EndTime>
  <FadeInFunction>Linear</FadeInFunction>
  <FadeOutFunction>InverseLinear</FadeOutFunction>
  <InitialStart>0</InitialStart>
  <Phase>
    <Name>Phase1</Name>
    <SetRenderTarget>RenderTarget</SetRenderTarget>
    <Overlay>
      <Name>RadialBlur</Name>
      <Float>blurStrength = 2.2</Float>
    </Overlay>
  </Phase>
</Effect>
<Effect>
  <Name>gaussianBlur</Name>
  <FadeInTime>2</FadeInTime>
  <FadeOutTime>-1</FadeOutTime>
  <EndTime>30</EndTime>
  <FadeInFunction>Linear</FadeInFunction>
  <FadeOutFunction>InverseLinear</FadeOutFunction>
  <InitialStart>0</InitialStart>
  <Phase>
    <Name>Phase1</Name>
    <SetRenderTarget>RenderTarget</SetRenderTarget>
    <Overlay>
      <Name>GaussianBlurHoriz</Name>
      <Float>blurStrength = 1</Float>
    </Overlay>
    <SetRenderTarget>RenderTarget</SetRenderTarget>
    <Overlay>
      <Name>GaussianBlurVert</Name>
      <Float>blurStrength = 1</Float>
    </Overlay>
  </Phase>
</Effect>
<Effect>
  <Name>sinshift</Name>  
  <FadeInTime>600</FadeInTime>
  <FadeOutTime>601</FadeOutTime>
  <EndTime>1200</EndTime>
  <FadeInFunction>Linear</FadeInFunction>
  <FadeOutFunction>InverseLinear</FadeOutFunction>  
  <InitialStart>0</InitialStart>
  <Phase>
    <Name>Phase1</Name>
    <SetRenderTarget>RenderTarget</SetRenderTarget>
    <Overlay>
      <Name>SinShift</Name>
    </Overlay>
  </Phase>
</Effect>
<Effect>
  <Name>circle</Name>  
  <FadeInTime>600</FadeInTime>
  <FadeOutTime>1001</FadeOutTime>
  <EndTime>1600</EndTime>
  <FadeInFunction>Linear</FadeInFunction>
  <FadeOutFunction>InverseLinear</FadeOutFunction>  
  <InitialStart>0</InitialStart>
  <Phase>
    <Name>Phase1</Name>
    <SetRenderTarget>RenderTarget</SetRenderTarget>
    <Overlay>
      <Name>Circle</Name>
    </Overlay>
  </Phase>
</Effect>
<Effect>
  <Name>DOF</Name>  
  <FadeInTime>00</FadeInTime>
  <FadeOutTime>-1</FadeOutTime>
  <EndTime>00</EndTime>
  <FadeInFunction>Linear</FadeInFunction>
  <FadeOutFunction>InverseLinear</FadeOutFunction>  
  <InitialStart>0</InitialStart>
  <Phase>
    <Name>Phase1</Name>
    <SetRenderTarget>RenderTarget</SetRenderTarget>
    <Overlay>
      <Name>DOF</Name>
    </Overlay>
  </Phase>
</Effect>
<Effect>
  <Name>MotionBluur</Name>  
  <FadeInTime>0</FadeInTime>
  <FadeOutTime>-1</FadeOutTime>
  <EndTime>0</EndTime>
  <FadeInFunction>Linear</FadeInFunction>
  <FadeOutFunction>InverseLinear</FadeOutFunction>  
  <InitialStart>1</InitialStart>
  <Phase>
    <Name>Phase1</Name>
    <SetRenderTarget>RenderTarget</SetRenderTarget>
    <Overlay>
      <Name>MotionBlur</Name>
      <Float>blurStrength = .5</Float>
      <Float>maxBlur = .05</Float>
    </Overlay>
  </Phase>
</Effect>
<Effect>
  <Name>MotionBluurHQ</Name>  
  <FadeInTime>0</FadeInTime>
  <FadeOutTime>-1</FadeOutTime>
  <EndTime>0</EndTime>
  <FadeInFunction>Linear</FadeInFunction>
  <FadeOutFunction>InverseLinear</FadeOutFunction>  
  <InitialStart>0</InitialStart>
  <Phase>
    <Name>Phase1</Name>
    <SetRenderTarget>RenderTarget</SetRenderTarget>
    <Overlay>
      <Name>MotionBlurHQ</Name>
      <Float>blurStrength = .5</Float>
      <Float>maxBlur = .05</Float>
    </Overlay>
  </Phase>
</Effect>
<Effect>
  <Name>distHaze</Name>  
  <FadeInTime>500</FadeInTime>
  <FadeOutTime>-1</FadeOutTime>
  <EndTime>2000</EndTime>
  <FadeInFunction>Linear</FadeInFunction>
  <FadeOutFunction>InverseLinear</FadeOutFunction>
  <InitialStart>1</InitialStart>
  <Phase>
    <Name>Phase1</Name>
    <SetRenderTarget>FrameBuffer</SetRenderTarget>
    <Overlay>
      <Float>blurStrength = .02</Float>
      <Name>CombineDistHaze</Name>
    </Overlay>
  </Phase>
</Effect>
<Effect>
  <Name>default</Name>  
  <FadeInTime>0</FadeInTime>
  <FadeOutTime>-1</FadeOutTime>
  <EndTime>0</EndTime>
  <FadeInFunction>Linear</FadeInFunction>
  <FadeOutFunction>Linear</FadeOutFunction>
  <InitialStart>0</InitialStart>
  <Phase>
    <Name>Phase1</Name>
    <SetRenderTarget>FrameBuffer</SetRenderTarget>
    <Overlay>
      <Name>RenderToFrameBuffer</Name>
    </Overlay>
  </Phase>
</Effect>
