|
@@ -7,7 +7,7 @@
|
|
|
<rendertarget name="blur4" tag="BloomHDR" sizedivisor="4 4" format="rgba16f" filter="true" />
|
|
<rendertarget name="blur4" tag="BloomHDR" sizedivisor="4 4" format="rgba16f" filter="true" />
|
|
|
<rendertarget name="blur8" tag="BloomHDR" sizedivisor="8 8" format="rgba16f" filter="true" />
|
|
<rendertarget name="blur8" tag="BloomHDR" sizedivisor="8 8" format="rgba16f" filter="true" />
|
|
|
<rendertarget name="blur16" tag="BloomHDR" sizedivisor="16 16" format="rgba16f" filter="true" />
|
|
<rendertarget name="blur16" tag="BloomHDR" sizedivisor="16 16" format="rgba16f" filter="true" />
|
|
|
- <command type="quad" tag="BloomHDR" vs="BloomHDR_Bright" ps="BloomHDR_Bright" output="bright2">
|
|
|
|
|
|
|
+ <command type="quad" tag="BloomHDR" vs="BloomHDR" ps="BloomHDR" vsdefines="BRIGHT" psdefines="BRIGHT" output="bright2">
|
|
|
<parameter name="BloomHDRThreshold" value="0.8" />
|
|
<parameter name="BloomHDRThreshold" value="0.8" />
|
|
|
<texture unit="diffuse" name="viewport" />
|
|
<texture unit="diffuse" name="viewport" />
|
|
|
</command>
|
|
</command>
|
|
@@ -20,67 +20,67 @@
|
|
|
<command type="quad" tag="BloomHDR" vs="CopyFrameBuffer" ps="CopyFrameBuffer" output="bright16">
|
|
<command type="quad" tag="BloomHDR" vs="CopyFrameBuffer" ps="CopyFrameBuffer" output="bright16">
|
|
|
<texture unit="diffuse" name="bright8" />
|
|
<texture unit="diffuse" name="bright8" />
|
|
|
</command>
|
|
</command>
|
|
|
- <command type="quad" tag="BloomHDR" vs="BloomHDR_Blur16" ps="BloomHDR_Blur16" output="blur16">
|
|
|
|
|
|
|
+ <command type="quad" tag="BloomHDR" vs="BloomHDR" ps="BloomHDR" vsdefines="BLUR16" psdefines="BLUR16" output="blur16">
|
|
|
<parameter name="BloomHDRBlurDir" value="1.0 0.0" />
|
|
<parameter name="BloomHDRBlurDir" value="1.0 0.0" />
|
|
|
<parameter name="BloomHDRBlurRadius" value="1.0" />
|
|
<parameter name="BloomHDRBlurRadius" value="1.0" />
|
|
|
<parameter name="BloomHDRBlurSigma" value="2.0" />
|
|
<parameter name="BloomHDRBlurSigma" value="2.0" />
|
|
|
<texture unit="diffuse" name="bright16" />
|
|
<texture unit="diffuse" name="bright16" />
|
|
|
</command>
|
|
</command>
|
|
|
- <command type="quad" tag="BloomHDR" vs="BloomHDR_Blur16" ps="BloomHDR_Blur16" output="bright16">
|
|
|
|
|
|
|
+ <command type="quad" tag="BloomHDR" vs="BloomHDR" ps="BloomHDR" vsdefines="BLUR16" psdefines="BLUR16" output="bright16">
|
|
|
<parameter name="BloomHDRBlurDir" value="0.0 1.0" />
|
|
<parameter name="BloomHDRBlurDir" value="0.0 1.0" />
|
|
|
<parameter name="BloomHDRBlurRadius" value="1.0" />
|
|
<parameter name="BloomHDRBlurRadius" value="1.0" />
|
|
|
<parameter name="BloomHDRBlurSigma" value="2.0" />
|
|
<parameter name="BloomHDRBlurSigma" value="2.0" />
|
|
|
<texture unit="diffuse" name="blur16" />
|
|
<texture unit="diffuse" name="blur16" />
|
|
|
</command>
|
|
</command>
|
|
|
- <command type="quad" tag="BloomHDR" vs="BloomHDR_Combine16" ps="BloomHDR_Combine16" output="blur8">
|
|
|
|
|
|
|
+ <command type="quad" tag="BloomHDR" vs="BloomHDR" ps="BloomHDR" vsdefines="COMBINE16" psdefines="COMBINE16" output="blur8">
|
|
|
<texture unit="diffuse" name="bright8" />
|
|
<texture unit="diffuse" name="bright8" />
|
|
|
<texture unit="normal" name="bright16" />
|
|
<texture unit="normal" name="bright16" />
|
|
|
</command>
|
|
</command>
|
|
|
- <command type="quad" tag="BloomHDR" vs="BloomHDR_Blur8" ps="BloomHDR_Blur8" output="bright8">
|
|
|
|
|
|
|
+ <command type="quad" tag="BloomHDR" vs="BloomHDR" ps="BloomHDR" vsdefines="BLUR8" psdefines="BLUR8" output="bright8">
|
|
|
<parameter name="BloomHDRBlurDir" value="1.0 0.0" />
|
|
<parameter name="BloomHDRBlurDir" value="1.0 0.0" />
|
|
|
<parameter name="BloomHDRBlurRadius" value="1.0" />
|
|
<parameter name="BloomHDRBlurRadius" value="1.0" />
|
|
|
<parameter name="BloomHDRBlurSigma" value="2.0" />
|
|
<parameter name="BloomHDRBlurSigma" value="2.0" />
|
|
|
<texture unit="diffuse" name="blur8" />
|
|
<texture unit="diffuse" name="blur8" />
|
|
|
</command>
|
|
</command>
|
|
|
- <command type="quad" tag="BloomHDR" vs="BloomHDR_Blur8" ps="BloomHDR_Blur8" output="blur8">
|
|
|
|
|
|
|
+ <command type="quad" tag="BloomHDR" vs="BloomHDR" ps="BloomHDR" vsdefines="BLUR8" psdefines="BLUR8" output="blur8">
|
|
|
<parameter name="BloomHDRBlurDir" value="0.0 1.0" />
|
|
<parameter name="BloomHDRBlurDir" value="0.0 1.0" />
|
|
|
<parameter name="BloomHDRBlurRadius" value="1.0" />
|
|
<parameter name="BloomHDRBlurRadius" value="1.0" />
|
|
|
<parameter name="BloomHDRBlurSigma" value="2.0" />
|
|
<parameter name="BloomHDRBlurSigma" value="2.0" />
|
|
|
<texture unit="diffuse" name="bright8" />
|
|
<texture unit="diffuse" name="bright8" />
|
|
|
</command>
|
|
</command>
|
|
|
- <command type="quad" tag="BloomHDR" vs="BloomHDR_Combine8" ps="BloomHDR_Combine8" output="blur4">
|
|
|
|
|
|
|
+ <command type="quad" tag="BloomHDR" vs="BloomHDR" ps="BloomHDR" vsdefines="COMBINE8" psdefines="COMBINE8" output="blur4">
|
|
|
<texture unit="diffuse" name="bright4" />
|
|
<texture unit="diffuse" name="bright4" />
|
|
|
<texture unit="normal" name="blur8" />
|
|
<texture unit="normal" name="blur8" />
|
|
|
</command>
|
|
</command>
|
|
|
- <command type="quad" tag="BloomHDR" vs="BloomHDR_Blur4" ps="BloomHDR_Blur4" output="bright4">
|
|
|
|
|
|
|
+ <command type="quad" tag="BloomHDR" vs="BloomHDR" ps="BloomHDR" vsdefines="BLUR4" psdefines="BLUR4" output="bright4">
|
|
|
<parameter name="BloomHDRBlurDir" value="1.0 0.0" />
|
|
<parameter name="BloomHDRBlurDir" value="1.0 0.0" />
|
|
|
<parameter name="BloomHDRBlurRadius" value="1.0" />
|
|
<parameter name="BloomHDRBlurRadius" value="1.0" />
|
|
|
<parameter name="BloomHDRBlurSigma" value="2.0" />
|
|
<parameter name="BloomHDRBlurSigma" value="2.0" />
|
|
|
<texture unit="diffuse" name="blur4" />
|
|
<texture unit="diffuse" name="blur4" />
|
|
|
</command>
|
|
</command>
|
|
|
- <command type="quad" tag="BloomHDR" vs="BloomHDR_Blur4" ps="BloomHDR_Blur4" output="blur4">
|
|
|
|
|
|
|
+ <command type="quad" tag="BloomHDR" vs="BloomHDR" ps="BloomHDR" vsdefines="BLUR4" psdefines="BLUR4" output="blur4">
|
|
|
<parameter name="BloomHDRBlurDir" value="0.0 1.0" />
|
|
<parameter name="BloomHDRBlurDir" value="0.0 1.0" />
|
|
|
<parameter name="BloomHDRBlurRadius" value="1.0" />
|
|
<parameter name="BloomHDRBlurRadius" value="1.0" />
|
|
|
<parameter name="BloomHDRBlurSigma" value="2.0" />
|
|
<parameter name="BloomHDRBlurSigma" value="2.0" />
|
|
|
<texture unit="diffuse" name="bright4" />
|
|
<texture unit="diffuse" name="bright4" />
|
|
|
</command>
|
|
</command>
|
|
|
- <command type="quad" tag="BloomHDR" vs="BloomHDR_Combine4" ps="BloomHDR_Combine4" output="blur2">
|
|
|
|
|
|
|
+ <command type="quad" tag="BloomHDR" vs="BloomHDR" ps="BloomHDR" vsdefines="COMBINE4" psdefines="COMBINE4" output="blur2">
|
|
|
<texture unit="diffuse" name="bright2" />
|
|
<texture unit="diffuse" name="bright2" />
|
|
|
<texture unit="normal" name="blur4" />
|
|
<texture unit="normal" name="blur4" />
|
|
|
</command>
|
|
</command>
|
|
|
- <command type="quad" tag="BloomHDR" vs="BloomHDR_Blur2" ps="BloomHDR_Blur2" output="bright2">
|
|
|
|
|
|
|
+ <command type="quad" tag="BloomHDR" vs="BloomHDR" ps="BloomHDR" vsdefines="BLUR2" psdefines="BLUR2" output="bright2">
|
|
|
<parameter name="BloomHDRBlurDir" value="1.0 0.0" />
|
|
<parameter name="BloomHDRBlurDir" value="1.0 0.0" />
|
|
|
<parameter name="BloomHDRBlurRadius" value="1.0" />
|
|
<parameter name="BloomHDRBlurRadius" value="1.0" />
|
|
|
<parameter name="BloomHDRBlurSigma" value="2.0" />
|
|
<parameter name="BloomHDRBlurSigma" value="2.0" />
|
|
|
<texture unit="diffuse" name="blur2" />
|
|
<texture unit="diffuse" name="blur2" />
|
|
|
</command>
|
|
</command>
|
|
|
- <command type="quad" tag="BloomHDR" vs="BloomHDR_Blur2" ps="BloomHDR_Blur2" output="blur2">
|
|
|
|
|
|
|
+ <command type="quad" tag="BloomHDR" vs="BloomHDR" ps="BloomHDR" vsdefines="BLUR2" psdefines="BLUR2" output="blur2">
|
|
|
<parameter name="BloomHDRBlurDir" value="0.0 1.0" />
|
|
<parameter name="BloomHDRBlurDir" value="0.0 1.0" />
|
|
|
<parameter name="BloomHDRBlurRadius" value="1.0" />
|
|
<parameter name="BloomHDRBlurRadius" value="1.0" />
|
|
|
<parameter name="BloomHDRBlurSigma" value="2.0" />
|
|
<parameter name="BloomHDRBlurSigma" value="2.0" />
|
|
|
<texture unit="diffuse" name="bright2" />
|
|
<texture unit="diffuse" name="bright2" />
|
|
|
</command>
|
|
</command>
|
|
|
- <command type="quad" tag="BloomHDR" vs="BloomHDR_Combine2" ps="BloomHDR_Combine2" output="viewport">
|
|
|
|
|
|
|
+ <command type="quad" tag="BloomHDR" vs="BloomHDR" ps="BloomHDR" vsdefines="COMBINE2" psdefines="COMBINE2" output="viewport">
|
|
|
<parameter name="BloomHDRMix" value="1.0 0.4" />
|
|
<parameter name="BloomHDRMix" value="1.0 0.4" />
|
|
|
<texture unit="diffuse" name="viewport" />
|
|
<texture unit="diffuse" name="viewport" />
|
|
|
<texture unit="normal" name="blur2" />
|
|
<texture unit="normal" name="blur2" />
|