18 lines
654 B
XML
18 lines
654 B
XML
<spshader>
|
|
<shader-info name="additive" transparent="Y" use-alpha-channel="Y"/>
|
|
<first-pass use-function="additiveUse" vertex-shader="sp_pass.vert"
|
|
fragment-shader="sp_transparent.frag"
|
|
skinned-mesh-shader="sp_skinning.vert">
|
|
<uniforms>
|
|
<uniform name="fog_enabled" type="int"/>
|
|
<uniform name="custom_alpha" type="float"/>
|
|
</uniforms>
|
|
</first-pass>
|
|
<uniform-assigners>
|
|
<uniform-assigner name="fog_enabled"
|
|
function="fogUniformAssigner"/>
|
|
<uniform-assigner name="custom_alpha"
|
|
function="zeroAlphaUniformAssigner"/>
|
|
</uniform-assigners>
|
|
</spshader>
|