Browse Source

Clear also stencil.

Lasse Öörni 10 years ago
parent
commit
85697abb4b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/CoreData/RenderPaths/ForwardDepth.xml

+ 1 - 1
bin/CoreData/RenderPaths/ForwardDepth.xml

@@ -2,7 +2,7 @@
     <rendertarget name="depth" sizedivisor="1 1" format="lineardepth" />
     <command type="clear" color="1 1 1 1" depth="1.0" stencil="0" output="depth" />
     <command type="scenepass" pass="depth" output="depth" />
-    <command type="clear" color="fog" depth="1.0" />
+    <command type="clear" color="fog" depth="1.0" stencil="0" />
     <command type="scenepass" pass="base" vertexlights="true" metadata="base" />
     <command type="forwardlights" pass="light" />
     <command type="scenepass" pass="postopaque" />