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

<i3D name="customRim" 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="2" filename="rim_normal.png" />
    <File fileId="3" filename="rim_vmask.png" />
    <File fileId="4" filename="$data/shaders/vehicleShader.xml" />
    <File fileId="6" filename="$data/shared/detailLibrary/flat_normal.png" />
    <File fileId="5" filename="$data/shared/detailLibrary/metallic/clear_diffuse.png" />
    <File fileId="7" filename="$data/shared/detailLibrary/metallic/rough_specular.png" />
    <File fileId="1" filename="$data/shared/white_diffuse.png" />
  </Files>

  <Materials>
    <Material name="rim_metalPainted_mat" materialId="1" customShaderId="4">
      <CustomParameter name="colorScale" value="0.6456 0.6456 0.6456"/>
      <Custommap name="detailDiffuse" fileId="5"/>
      <Custommap name="detailNormal" fileId="6"/>
      <Custommap name="detailSpecular" fileId="7"/>
      <Texture fileId="1"/>
      <Normalmap fileId="2"/>
      <Glossmap fileId="3"/>
    </Material>
  </Materials>


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

  <Scene>
    <TransformGroup name="outerRim" nodeId="1">
      <Shape name="outerRim" shapeId="1" castsShadows="true" receiveShadows="true" materialIds="1" clipDistance="300" nodeId="2"/>
    </TransformGroup>
    <TransformGroup name="innerRim" nodeId="3">
      <Shape name="left" translation="0.012 0 0" shapeId="2" castsShadows="true" receiveShadows="true" materialIds="1" clipDistance="300" nodeId="4"/>
      <Shape name="right" translation="-0.012 0 0" shapeId="3" castsShadows="true" receiveShadows="true" materialIds="1" clipDistance="300" nodeId="5"/>
    </TransformGroup>
  </Scene>

  <UserAttributes>
  </UserAttributes>
</i3D>
