<?xml version="1.0" encoding="iso-8859-1"?>

<i3D name="slurryEffects_materialHolder" version="1.6" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://i3d.giants.ch/schema/i3d-1.6.xsd">

  <Files>
    <File fileId="1" filename="$data/effects/slurry/slurry_normal.png" />
    <File fileId="2" filename="$data/effects/slurry/slurry_specular.png" />
    <File fileId="3" filename="$data/shaders/slurryShader.xml" />
  </Files>

  <Materials>
    <Material name="slurry_mat" materialId="1" diffuseColor="0.5 0.5 0.5 1" alphaBlending="true" customShaderId="3" customShaderVariation="vsHorizontal">
      <Normalmap fileId="1"/>
      <Glossmap fileId="2"/>
    </Material>
    <Material name="slurry_mat1" materialId="2" diffuseColor="0.5 0.5 0.5 1" alphaBlending="true" customShaderId="3" customShaderVariation="vsSideToSide">
      <Normalmap fileId="1"/>
      <Glossmap fileId="2"/>
    </Material>
  </Materials>


  <Shapes externalShapesFile="slurryEffects_materialHolder.i3d.shapes">
  </Shapes>

  <Scene>
    <TransformGroup name="slurryEffects" nodeId="1">
      <TransformGroup name="materials" nodeId="2">
        <Shape name="vsHorizontal" shapeId="1" castsShadows="true" receiveShadows="true" materialIds="1" clipDistance="300" nodeId="3"/>
        <Shape name="vsSideToSide" shapeId="2" castsShadows="true" receiveShadows="true" materialIds="2" clipDistance="300" nodeId="4"/>
      </TransformGroup>
    </TransformGroup>
  </Scene>

  <UserAttributes>
    <UserAttribute nodeId="3">
      <Attribute name="materialName" type="string" value="slurry"/>
      <Attribute name="onCreate" type="scriptCallback" value="MaterialUtil.onCreateBaseMaterial"/>
    </UserAttribute>
    <UserAttribute nodeId="4">
      <Attribute name="onCreate" type="scriptCallback" value="MaterialUtil.onCreateBaseMaterial"/>
      <Attribute name="materialName" type="string" value="slurrySideToSide"/>
    </UserAttribute>
  </UserAttributes>
</i3D>
