|
|
@@ -3,7 +3,7 @@
|
|
|
<rendertarget name="normal" format="rgba" />
|
|
|
<rendertarget name="depth" format="lineardepth" />
|
|
|
<command type="clear" color="fog" depth="1.0" stencil="0" />
|
|
|
- <command type="scenepass" pass="prepass" marktostencil="true" sort="fronttoback">
|
|
|
+ <command type="scenepass" pass="prepass" marktostencil="true">
|
|
|
<output index="0" name="normal" />
|
|
|
<output index="1" name="depth" />
|
|
|
</command>
|
|
|
@@ -12,10 +12,10 @@
|
|
|
<texture unit="normal" name="normal" />
|
|
|
<texture unit="depth" name="depth" />
|
|
|
</command>
|
|
|
- <command type="scenepass" pass="material" vertexlights="true" sort="fronttoback">
|
|
|
+ <command type="scenepass" pass="material" vertexlights="true">
|
|
|
<texture unit="light" name="light" />
|
|
|
</command>
|
|
|
- <command type="scenepass" pass="prealpha" sort="fronttoback" />
|
|
|
+ <command type="scenepass" pass="prealpha"/>
|
|
|
<command type="scenepass" pass="alpha" usescissor="true" vertexlights="true" sort="backtofront" />
|
|
|
<command type="scenepass" pass="postalpha" sort="backtofront" />
|
|
|
</renderpath>
|