ForwardDepth.xml 779 B

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