Urho3D/bin/Data/PostProcess/Bloom.xml
PsychoCircuitry 4d4e157093
Bloom and BloomHDR PostProcess Fix (#2546)
* Update Bloom.xml

* Update Bloom.xml

* Update BloomHDR.xml

* Update Bloom.xml
2020-02-25 01:33:59 +02:00

20 lines
1021 B
XML

<renderpath>
<rendertarget name="BlurV" tag="Bloom" sizedivisor="4 4" format="rgb" filter="true" />
<rendertarget name="BlurH" tag="Bloom" sizedivisor="4 4" format="rgb" filter="true" />
<command type="quad" tag="Bloom" vs="Bloom" ps="Bloom" psdefines="BRIGHT" output="BlurV">
<parameter name="BloomThreshold" value="0.3" />
<texture unit="diffuse" name="viewport" />
</command>
<command type="quad" tag="Bloom" vs="Bloom" ps="Bloom" psdefines="BLURH" output="BlurH">
<texture unit="diffuse" name="BlurV" />
</command>
<command type="quad" tag="Bloom" vs="Bloom" ps="Bloom" psdefines="BLURV" output="BlurV">
<texture unit="diffuse" name="BlurH" />
</command>
<command type="quad" tag="Bloom" vs="Bloom" ps="Bloom" psdefines="COMBINE" output="viewport">
<parameter name="BloomMix" value="0.9 0.4" />
<texture unit="diffuse" name="viewport" />
<texture unit="normal" name="BlurV" />
</command>
</renderpath>