1MaterialDef Pre Shadow { 2 Technique { 3 VertexShader GLSL100 : Common/MatDefs/Shadow/PreShadow.vert 4 FragmentShader GLSL100 : Common/MatDefs/Shadow/PreShadow.frag 5 6 WorldParameters { 7 WorldViewProjectionMatrix 8 WorldViewMatrix 9 } 10 11 RenderState { 12 FaceCull Off 13 DepthTest On 14 DepthWrite On 15 PolyOffset 5 0 16 ColorWrite Off 17 } 18 } 19}