ForwardHWDepth.xml 861 B

1234567891011121314
  1. <renderpath>
  2. <rendertarget name="depth" sizedivisor="1 1" format="readabledepth" />
  3. <command type="clear" color="fog" depth="1.0" stencil="0" depthstencil="depth" />
  4. <command type="scenepass" pass="base" vertexlights="true" metadata="base" depthstencil="depth" />
  5. <command type="forwardlights" pass="light" depthstencil="depth" />
  6. <command type="scenepass" pass="postopaque" depthstencil="depth" />
  7. <command type="scenepass" pass="refract" depthstencil="depth">
  8. <texture unit="environment" name="viewport" />
  9. </command>
  10. <command type="scenepass" pass="alpha" vertexlights="true" sort="backtofront" metadata="alpha" depthstencil="depth" psdefines="HWDEPTH">
  11. <texture unit="depth" name="depth" />
  12. </command>
  13. <command type="scenepass" pass="postalpha" sort="backtofront" depthstencil="depth" />
  14. </renderpath>