- <spshader>
- <shader-info name="normalmap" fallback-shader="solid" use-tangents="Y"/>
- <first-pass vertex-shader="sp_pass.vert"
- fragment-shader="sp_normal_map.frag"
- skinned-mesh-shader="sp_skinning.vert">
- </first-pass>
- <shadow-pass vertex-shader="sp_shadow.vert"
- fragment-shader="white.frag"
- skinned-mesh-shader="sp_skinning_shadow.vert">
- </shadow-pass>
- <uniform-assigners>
- <uniform-assigner name="layer"
- function="shadowCascadeUniformAssigner"/>
- </uniform-assigners>
- </spshader>
|