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

<i3D name="tensionBeltMaterial.i3d" version="1.6" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://i3d.giants.ch/schema/i3d-1.6.xsd">
  <Asset>
    <Export program="GIANTS Editor 64bit" version="10.0.3"/>
  </Asset>

  <Files>
    <File fileId="6" filename="$data/shaders/glowShader.xml"/>
    <File fileId="4" filename="$data/shaders/tensionBeltShader.xml"/>
    <File fileId="5" filename="$data/shared/materialHolders/tensionBelts/tensionBeltDummy_diffuse.png"/>
    <File fileId="1" filename="tensionBeltBlackRubber_diffuse.png"/>
    <File fileId="2" filename="tensionBeltBlackRubber_normal.png"/>
    <File fileId="3" filename="tensionBeltBlackRubber_specular.png"/>
  </Files>


  <Materials>
    <Material name="tensionBeltDummy_mat" materialId="77" alphaBlending="true" customShaderId="6" customShaderVariation="additive_colorScale">
      <Emissivemap fileId="5"/>
      <CustomParameter name="colorScale" value="0.03 0.03 0.03"/>
    </Material>
    <Material name="tensionBeltPalletStrap_mat" materialId="12" customShaderId="4">
      <Texture fileId="1"/>
      <Normalmap fileId="2"/>
      <Glossmap fileId="3"/>
      <CustomParameter name="beltUVScale" value="1 7"/>
    </Material>
  </Materials>


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

  <Scene>
    <TransformGroup name="tensionBeltPalletStrap" nodeId="70">
      <Shape name="material" shapeId="1" clipDistance="10" nodeId="71" castsShadows="true" receiveShadows="true" materialIds="12"/>
      <Shape name="dummyMaterial" shapeId="2" clipDistance="10" nodeId="72" castsShadows="true" receiveShadows="true" materialIds="77"/>
    </TransformGroup>
  </Scene>

  <UserAttributes>
    <UserAttribute nodeId="70">
      <Attribute name="name" type="string" value="uttStrap"/>
      <Attribute name="onCreate" type="scriptCallback" value="TensionBeltManager.onCreateTensionBelt"/>
      <Attribute name="width" type="float" value="0.015"/>
    </UserAttribute>
    <UserAttribute nodeId="71">
      <Attribute name="isMaterial" type="boolean" value="true"/>
    </UserAttribute>
    <UserAttribute nodeId="72">
      <Attribute name="isDummyMaterial" type="boolean" value="true"/>
    </UserAttribute>
  </UserAttributes>

</i3D>
