material shadow_receiver_mat
{
  technique
  {
    pass
    {
      scene_blend modulate
      //scene_blend add
      texture_unit
      {
        texture Ogre/ShadowTexture0
        //texture Pina/BlurredShadowTexture
	tex_address_mode clamp
	//texture assil.tga
      }
      texture_unit
      {
        texture spot_shadow_fade.png
        tex_address_mode clamp
      }
      vertex_program_ref vp_ShadowReceiver
      {
        param_named_auto MVPMatrix worldviewproj_matrix
        param_named_auto TPMatrix  texture_viewproj_matrix
      }
      fragment_program_ref fp_ShadowReceiver
      {
      }
    }
  }
}

material shadow_caster_mat
{
  technique
  {
    pass
    {
      vertex_program_ref vp_ShadowCaster
      {
        param_named_auto MVPMatrix worldviewproj_matrix
      }
      fragment_program_ref fp_ShadowCaster
      {
      }
    }
  }
}