86393ba0a9
Adjust graph shader when advanced pipeline off, and no srgb prefilled texture when advanced pipeline off
19 lines
635 B
XML
19 lines
635 B
XML
<spshader>
|
|
<shader-info name="alphatest" use-alpha-channel="Y"/>
|
|
<first-pass vertex-shader="sp_pass.vert"
|
|
fragment-shader="sp_alpha_test.frag"
|
|
skinned-mesh-shader="sp_skinning.vert">
|
|
</first-pass>
|
|
<shadow-pass vertex-shader="sp_shadow.vert"
|
|
fragment-shader="sp_shadow_alpha_test.frag"
|
|
skinned-mesh-shader="sp_skinning_shadow.vert">
|
|
<uniforms>
|
|
<uniform name="layer" type="int"/>
|
|
</uniforms>
|
|
</shadow-pass>
|
|
<uniform-assigners>
|
|
<uniform-assigner name="layer"
|
|
function="shadowCascadeUniformAssigner"/>
|
|
</uniform-assigners>
|
|
</spshader>
|