Home | History | Annotate | Download | only in Shadow
      1 MaterialDef Post Shadow {
      2 
      3     MaterialParameters {
      4         Texture2D ShadowMap
      5         Matrix4 LightViewProjectionMatrix
      6     }
      7 
      8     Technique {
      9         VertexShader GLSL100:   Common/MatDefs/Shadow/PostShadow.vert
     10         FragmentShader GLSL100: Common/MatDefs/Shadow/PostShadow.frag
     11 
     12         WorldParameters {
     13             WorldViewProjectionMatrix
     14             WorldMatrix
     15         }
     16 
     17         Defines {
     18             NO_SHADOW2DPROJ
     19         }
     20 
     21         RenderState {
     22             Blend Modulate
     23         }
     24     }
     25 
     26 }