<?xml version="1.0" encoding="utf-8" ?>
<shader type="xmlshader" name="shadowmap">
  <technique priority="550" lights="1">
    <pass>
	  <mixmode>
      <srcalphaadd />
    </mixmode>
    <buffer source="texture coordinate 0" destination="texture coordinate 0" />
    <buffer source="normal" destination="normal" />
    <buffer source="tangent" destination="texture coordinate 1" />
    <buffer source="binormal" destination="texture coordinate 2" />
    <vp plugin="glcg" file="/shader/shadowmap/shadowmap.cgvp" />
    <texture destination="TexDiffuse" name="tex diffuse" />
    <texture destination="TexNormal" name="tex normal" />
    <texture destination="TexAttn" name="light 0 attenuationtex" />
    <texture destination="TexDistance" name="cubemap depth" />
    <fp plugin="glcg" file="/shader/shadowmap/shadowmap.cgfp" />
  </pass>
  </technique>
  <technique priority="500" lights="1">
  <pass>
      <mixmode>
        <srcalphaadd />
      </mixmode>
      <buffer source="texture coordinate 0" destination="texture coordinate 0" />
      <buffer source="normal" destination="normal" />
      <buffer source="tangent" destination="texture coordinate 1" />
      <buffer source="binormal" destination="texture coordinate 2" />
      <vp plugin="glcg" file="/shader/specular/bump.cgvp" />
      <texture destination="TexNormal" name="tex normal" />
      <texture destination="TexDiffuse" name="tex diffuse" />
      <texture destination="TexAttn" name="light 0 attenuationtex" />
      <fp plugin="glcg" file="/shader/specular/specular.cgfp" />
  </pass>
  </technique>
</shader>
