ForwardDepth.xml 852 B

12345678910111213141516
  1. <renderpath>
  2. <rendertarget name="depth" sizedivisor="1 1" format="lineardepth" />
  3. <command type="clear" color="1 1 1 1" depth="1.0" stencil="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. <texture unit="depth" name="depth" />
  14. </command>
  15. <command type="scenepass" pass="postalpha" sort="backtofront" />
  16. </renderpath>