- <renderpath>
- <rendertarget name="depth" sizedivisor="1 1" format="readabledepth" />
- <command type="clear" color="fog" depth="1.0" stencil="0" depthstencil="depth" />
- <command type="scenepass" pass="base" vertexlights="true" metadata="base" depthstencil="depth" />
- <command type="forwardlights" pass="light" depthstencil="depth" />
- <command type="scenepass" pass="postopaque" depthstencil="depth" />
- <command type="scenepass" pass="refract" depthstencil="depth">
- <texture unit="environment" name="viewport" />
- </command>
- <command type="scenepass" pass="alpha" vertexlights="true" sort="backtofront" metadata="alpha" depthstencil="depth" psdefines="HWDEPTH">
- <texture unit="depth" name="depth" />
- </command>
- <command type="scenepass" pass="postalpha" sort="backtofront" depthstencil="depth" />
- </renderpath>
|