Urho3D/bin/CoreData/RenderPaths/PrepassHWDepthSP.xml

9 lines
480 B
XML

<renderpath inherit="RenderPaths/PrepassHWDepth.xml">
<replace sel="/renderpath/command[@type='scenepass' and @pass='alpha']">
<command type="scenepass" pass="alpha" vertexlights="true" sort="backtofront" metadata="alpha" depthstencil="depth" vsdefines="SOFTPARTICLES" psdefines="SOFTPARTICLES HWDEPTH" >
<parameter name="SoftParticleFadeScale" value="1" />
<texture unit="depth" name="depth" />
</command>
</replace>
</renderpath>