|
|
@@ -1,28 +0,0 @@
|
|
|
-<renderpath>
|
|
|
- <rendertarget name="light" sizedivisor="1 1" format="rgba" />
|
|
|
- <rendertarget name="normal" sizedivisor="1 1" format="rgba" />
|
|
|
- <rendertarget name="depth" sizedivisor="1 1" format="lineardepth" />
|
|
|
- <command type="clear" color="1 1 1 1" output="depth" />
|
|
|
- <command type="clear" color="fog" depth="1.0" stencil="0" />
|
|
|
- <command type="scenepass" pass="prepass" marktostencil="true" metadata="gbuffer">
|
|
|
- <output index="0" name="normal" />
|
|
|
- <output index="1" name="depth" />
|
|
|
- </command>
|
|
|
- <command type="clear" color="0 0 0 0" output="light" />
|
|
|
- <command type="lightvolumes" vs="PrepassLight" ps="PrepassLight" output="light">
|
|
|
- <texture unit="normal" name="normal" />
|
|
|
- <texture unit="depth" name="depth" />
|
|
|
- </command>
|
|
|
- <command type="scenepass" pass="material" vertexlights="true">
|
|
|
- <texture unit="light" name="light" />
|
|
|
- </command>
|
|
|
- <command type="scenepass" pass="postopaque" />
|
|
|
- <command type="scenepass" pass="refract">
|
|
|
- <texture unit="environment" name="viewport" />
|
|
|
- </command>
|
|
|
- <command type="scenepass" pass="alpha" vertexlights="true" sort="backtofront" metadata="alpha" vsdefines="SOFTPARTICLES" psdefines="SOFTPARTICLES" >
|
|
|
- <parameter name="SoftParticleFadeScale" value="1" />
|
|
|
- <texture unit="depth" name="depth" />
|
|
|
- </command>
|
|
|
- <command type="scenepass" pass="postalpha" sort="backtofront" />
|
|
|
-</renderpath>
|