Bloom.xml 1019 B

12345678910111213141516171819
  1. <renderpath>
  2. <rendertarget name="vblur" tag="Bloom" sizedivisor="4 4" format="rgb" filter="true" />
  3. <rendertarget name="hblur" tag="Bloom" sizedivisor="4 4" format="rgb" filter="true" />
  4. <command type="quad" tag="Bloom" vs="Bloom" ps="Bloom" psdefines="BRIGHT" output="vblur">
  5. <parameter name="BloomThreshold" value="0.3" />
  6. <texture unit="diffuse" name="viewport" />
  7. </command>
  8. <command type="quad" tag="Bloom" vs="Bloom" ps="Bloom" psdefines="HBLUR" output="hblur">
  9. <texture unit="diffuse" name="vblur" />
  10. </command>
  11. <command type="quad" tag="Bloom" vs="Bloom" ps="Bloom" psdefines="VBLUR" output="vblur">
  12. <texture unit="diffuse" name="hblur" />
  13. </command>
  14. <command type="quad" tag="Bloom" vs="Bloom" ps="Bloom" psdefines="COMBINE" output="viewport">
  15. <parameter name="BloomMix" value="0.9 0.4" />
  16. <texture unit="diffuse" name="viewport" />
  17. <texture unit="normal" name="vblur" />
  18. </command>
  19. </renderpath>