<shader compiler="xmlshader" name="water">
  <technique priority="50">
    <pass>
      <mixmode><copy/></mixmode>
      <buffer source="normal" destination="normal"/>
      <vp plugin="glfixed">
        <fixedvp>  
          <texgen type="reflection" mapping="cube" layer="0" />
          <!--<ambient/>-->
        </fixedvp>
      </vp>
      <texture name="tex diffuse" destination="unit 0" />
      <fp plugin="glfixed">
        <fixedfp>
          <layer>
            <colorsource num="0" source="texture" modifier="color"/>
            <!--<colorsource num="1" source="texture" modifier="color"/>
            <coloroperation operation="replace"/>-->
          </layer>
        </fixedfp>
      </fp>
    </pass>
  </technique>
</shader>
