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

<i3D name="flashlight.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="1" filename="textures/lanterna_diffuse.png"/>
    <File fileId="2" filename="textures/lanterna_normal.dds"/>
    <File fileId="3" filename="textures/lanterna_specular.png"/>
    <File fileId="10" filename="$data/handTools/brandless/flashlight/flashlight.ies"/>
    <File fileId="4" filename="$data/handTools/brandless/flashlight/flashlight_diffuse.png"/>
    <File fileId="5" filename="$data/handTools/brandless/flashlight/flashlight_normal.png"/>
    <File fileId="6" filename="$data/handTools/brandless/flashlight/flashlight_specular.png"/>
    <File fileId="11" filename="$data/shaders/glowShader.xml"/>
    <File fileId="8" filename="$data/shared/default_normal.dds"/>
    <File fileId="7" filename="$data/shared/window02_diffuse.dds"/>
    <File fileId="9" filename="$data/shared/window02_specular.dds"/>
  </Files>


  <Materials>
    <Material name="flashlight_01_mat" materialId="5">
      <Texture fileId="4"/>
      <Normalmap fileId="5"/>
      <Glossmap fileId="6"/>
    </Material>
    <Material name="flashlight_01_mat" materialId="6" customShaderId="11" customShaderVariation="additive_colorScale">
      <Texture fileId="4"/>
      <Normalmap fileId="5"/>
      <Glossmap fileId="6"/>
      <CustomParameter name="lightControl" value="10"/>
      <CustomParameter name="colorScale" value="1 0.5 0"/>
    </Material>
    <Material name="lanterna_mat" materialId="7">
      <Texture fileId="1"/>
      <Normalmap fileId="2"/>
      <Glossmap fileId="3"/>
    </Material>
    <Material name="lenteLanterna_mat" materialId="8" alphaBlending="true">
      <Texture fileId="7"/>
      <Normalmap fileId="8"/>
      <Glossmap fileId="9"/>
    </Material>
  </Materials>


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

  <Scene>
    <TransformGroup name="flashlight" lockedgroup="true" nodeId="16">
      <TransformGroup name="graphics" nodeId="17">
        <Shape name="lanternaLost" translation="1.79984e-08 0 0.0552367" rotation="180 -1.86693e-05 180" shapeId="1" clipDistance="100" nodeId="18" castsShadows="true" receiveShadows="true" materialIds="7">
          <Shape name="lanterna2" shapeId="2" clipDistance="50" nodeId="19" castsShadows="false" receiveShadows="true" materialIds="5"/>
          <Shape name="lenteLanterna" translation="-0.000942343 -0.00437954 0.184895" rotation="-180 1.86693e-05 -180" scale="2.1 2.1 2.1" shapeId="3" clipDistance="100" nodeId="20" castsShadows="true" receiveShadows="true" materialIds="8"/>
        </Shape>
        <Light name="lightNode" translation="-1.06158e-09 0 0.173342" rotation="0 180 0" nodeId="21" type="spot" color="1 0.5 0.1" emitDiffuse="true" emitSpecular="true" castShadowMap="true" depthMapBias="0.001" depthMapSlopeScaleBias="2" depthMapSlopeClamp="0.02" depthMapResolution="1024" shadowFarDistance="80" shadowExtrusionDistance="200" softShadowsLightSize="0.0001" softShadowsLightDistance="15" softShadowsDepthBiasFactor="5" softShadowsMaxPenumbraSize="0.5" range="70" coneAngle="80" dropOff="5" iesProfileFileId="10"/>
        <Shape name="selfIllum" shapeId="4" clipDistance="50" nodeId="23" castsShadows="false" receiveShadows="true" materialIds="6"/>
      </TransformGroup>
      <TransformGroup name="handNode" translation="-0.0314911 0.099186 0.00353907" rotation="-169.816 13.287 91.924" nodeId="24"/>
      <TransformGroup name="firstPersonNode" translation="0.214 0.274 -0.360672" nodeId="25"/>
    </TransformGroup>
  </Scene>

</i3D>
