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

<i3D name="hw_wheels.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.11"/>
  </Asset>

  <Files>
    <File fileId="25" filename="$data/shaders/tireMudShader.xml"/>
    <File fileId="17" filename="$data/shared/detailLibrary/flat_normal.dds"/>
    <File fileId="21" filename="$data/shared/detailLibrary/metallic/silverScratched_diffuse.dds"/>
    <File fileId="20" filename="$data/shared/detailLibrary/metallic/silverScratched_specular.dds"/>
    <File fileId="10" filename="$data/shared/detailLibrary/nonMetallic/dirt_diffuse.png"/>
    <File fileId="8" filename="$data/shared/detailLibrary/nonMetallic/dirt_specular.png"/>
    <File fileId="18" filename="$data/shared/detailLibrary/nonMetallic/metal/metalPainted_diffuse.dds"/>
    <File fileId="16" filename="$data/shared/detailLibrary/nonMetallic/metal/metalPainted_specular.dds"/>
    <File fileId="24" filename="$data/shared/detailLibrary/nonMetallic/mud_normal.png"/>
    <File fileId="7" filename="$data/shared/detailLibrary/nonMetallic/rubber/rubberBlack_diffuse.dds"/>
    <File fileId="6" filename="$data/shared/detailLibrary/nonMetallic/rubber/rubber_normal.dds"/>
    <File fileId="5" filename="$data/shared/detailLibrary/nonMetallic/rubber/rubber_specular.dds"/>
    <File fileId="1" filename="$data/shared/white_diffuse.dds"/>
    <File fileId="4" filename="$data/shaders/vehicleShader.xml"/>
    <File fileId="22" filename="../textures/normal_dirt.dds"/>
    <File fileId="19" filename="../textures/normal_wear_dirt.dds"/>
    <File fileId="14" filename="../textures/rim_normal.dds"/>
    <File fileId="23" filename="../textures/specular_dirt.dds"/>
    <File fileId="15" filename="../textures/specular_wear_dirt.dds"/>
    <File fileId="2" filename="hw_normal.dds"/>
    <File fileId="3" filename="hw_vmask.dds"/>
  </Files>


  <Materials>
    <Material name="gummi_mat" materialId="45" customShaderId="4">
      <Texture fileId="1"/>
      <Normalmap fileId="22"/>
      <Glossmap fileId="23"/>
      <Custommap name="detailSpecular" fileId="5"/>
      <Custommap name="detailNormal" fileId="6"/>
      <Custommap name="detailDiffuse" fileId="7"/>
      <CustomParameter name="porosity" value="0.5"/>
    </Material>
    <Material name="gummi_mat" materialId="6" customShaderId="4" customShaderVariation="tirePressureDeformation">
      <Texture fileId="1"/>
      <Normalmap fileId="2"/>
      <Glossmap fileId="3"/>
      <Custommap name="detailSpecular" fileId="5"/>
      <Custommap name="detailNormal" fileId="6"/>
      <Custommap name="detailDiffuse" fileId="7"/>
      <CustomParameter name="porosity" value="0.5"/>
    </Material>
    <Material name="mud_mat" materialId="7" customShaderId="25">
      <Texture fileId="10"/>
      <Normalmap fileId="24"/>
      <Glossmap fileId="8"/>
      <CustomParameter name="morphPos" value="-0.29 -0.533 0.5 0.05"/>
    </Material>
    <Material name="rim_outer_mat" materialId="37" customShaderId="4">
      <Texture fileId="1"/>
      <Normalmap fileId="14"/>
      <Glossmap fileId="15"/>
      <Custommap name="detailSpecular" fileId="16"/>
      <Custommap name="detailNormal" fileId="17"/>
      <Custommap name="detailDiffuse" fileId="18"/>
      <CustomParameter name="colorScale" value="0.564 0.021 0.02"/>
    </Material>
    <Material name="silverScratched_mat" materialId="41" customShaderId="4">
      <Texture fileId="1"/>
      <Normalmap fileId="19"/>
      <Glossmap fileId="15"/>
      <Custommap name="detailSpecular" fileId="20"/>
      <Custommap name="detailNormal" fileId="17"/>
      <Custommap name="detailDiffuse" fileId="21"/>
      <CustomParameter name="colorScale" value="1 0.5 0"/>
    </Material>
  </Materials>


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

  <Scene>
    <TransformGroup name="left" nodeId="17">
      <Shape name="tireleft" shapeId="1" clipDistance="300" nodeId="18" castsShadows="true" receiveShadows="true" materialIds="6">
        <Shape name="rimleft" shapeId="2" clipDistance="300" nodeId="19" castsShadows="true" receiveShadows="true" materialIds="37,41,45"/>
        <Shape name="mudMesh" shapeId="3" clipDistance="300" nodeId="20" castsShadows="true" receiveShadows="true" materialIds="7"/>
      </Shape>
    </TransformGroup>
    <TransformGroup name="right" nodeId="21">
      <Shape name="tireRight" shapeId="4" clipDistance="300" nodeId="22" castsShadows="true" receiveShadows="true" materialIds="6">
        <Shape name="rimRight" shapeId="5" clipDistance="300" nodeId="23" castsShadows="true" receiveShadows="true" materialIds="37,41,45"/>
        <Shape name="mudMesh" shapeId="6" clipDistance="300" nodeId="24" castsShadows="true" receiveShadows="true" materialIds="7"/>
      </Shape>
    </TransformGroup>
  </Scene>

</i3D>
