<?xml version="1.0" encoding="utf-8"?>
<materials>
  <!-- by default all parameters are uneditable -->
  <!-- values that are not initialized through corresponding tag will have default values assigned by constructor of material class -->
  <!-- editable attribute defines whether corresponding GUI parameter is enabled or not -->

  <!-- This material is included just for testing purposes. -->
  <material name="test I">
    <!-- colors "r, g, b" with components in range 0.0-1.0 -->
    <ambient editable="1">0.2, 0.2, 0.2</ambient>
    <diffuse editable="1">0.6, 0.1, 0.1</diffuse>
    <specular editable="1">0.1, 0.6, 0.1</specular>
    <emission editable="1">0.1, 0.1, 0.6</emission>
    <!-- floating point values -->
    <shininess editable="1">1.5</shininess>
    <reflectivity editable="1">0.567</reflectivity>
    <texturemix editable="1">0.0</texturemix>
    <!-- string value -->
    <imagename editable="1">xyz.jpg</imagename>
    <!-- boolean values 0/1 -->
    <blended editable="1">1</blended>
    <doublesided editable="1">0</doublesided>
    <flatreflectivity editable="1">1</flatreflectivity>
    <unlit editable="1">0</unlit>
    <alphamask editable="1">1</alphamask>
    <texturewrapu editable="1">0</texturewrapu>
    <texturewarpv editable="1">1</texturewarpv>
    <!-- texture min/mag filters: supported values "POINT", "LINEAR", "MIPMAP" -->
    <textureminfilter editable="1">MIPMAP</textureminfilter>
    <texturemagfilter editable="1">LINEAR</texturemagfilter>
    <!-- texture environment modes: supported values "MODULATE", "REPLACE", "DECAL", "BLEND", "ADD", "INTERPOLATE" -->
    <textureenvmode editable="1">REPLACE</textureenvmode>
    <!-- texture generation modes: supported values "NONE", "EYE", "OBJECT", "SPHERE", "NORMAL", "REFLECTION" -->
    <texturegenmodeu editable="1">REFLECTION</texturegenmodeu>
    <texturegenmodev editable="1">EYE</texturegenmodev>
    <!-- blending functions: supported values "ZERO (None)", "ONE", "SRC_COLOR", "ONE_MINUS_SRC_COLOR", "DST_COLOR", "ONE_MINUS_DST_COLOR", "SRC_ALPHA", "ONE_MINUS_SRC_ALPHA", "DST_ALPHA" -->
    <blendfuncsrc editable="1">SRC_ALPHA</blendfuncsrc>
    <blendfuncdst editable="1">ONE_MINUS_SRC_ALPHA</blendfuncdst>
  </material>

  <!-- Default material types. -->
  <material name="Cloth">
    <!-- colors "r, g, b" with components in range 0.0-1.0 -->
    <ambient editable="1"></ambient>
    <diffuse editable="1"></diffuse>
    <specular editable="1"></specular>
    <emission editable="1"></emission>
    <!-- floating point values -->
    <shininess editable="1"></shininess>
    <reflectivity editable="1"></reflectivity>
    <texturemix editable="1"></texturemix>
    <!-- string value -->
    <imagename editable="1"></imagename>
    <!-- boolean values 0/1 -->
    <blended editable="1"></blended>
    <doublesided editable="1"></doublesided>
    <flatreflectivity editable="1"></flatreflectivity>
    <unlit editable="1"></unlit>
    <alphamask editable="1"></alphamask>
    <texturewrapu editable="1"></texturewrapu>
    <texturewarpv editable="1"></texturewarpv>
    <!-- texture min/mag filters: supported values "POINT", "LINEAR", "MIPMAP" -->
    <textureminfilter editable="1"></textureminfilter>
    <texturemagfilter editable="1"></texturemagfilter>
    <!-- texture environment modes: supported values "MODULATE", "REPLACE", "DECAL", "BLEND", "ADD", "INTERPOLATE" -->
    <textureenvmode editable="1"></textureenvmode>
    <!-- texture generation modes: supported values "NONE", "EYE", "OBJECT", "SPHERE", "NORMAL", "REFLECTION" -->
    <texturegenmodeu editable="1"></texturegenmodeu>
    <texturegenmodev editable="1"></texturegenmodev>
    <!-- blending functions: supported values "ZERO (None)", "ONE", "SRC_COLOR", "ONE_MINUS_SRC_COLOR", "DST_COLOR", "ONE_MINUS_DST_COLOR", "SRC_ALPHA", "ONE_MINUS_SRC_ALPHA", "DST_ALPHA" -->
    <blendfuncsrc editable="1"></blendfuncsrc>
    <blendfuncdst editable="1"></blendfuncdst>
  </material>

  <material name="Display">
    <!-- colors "r, g, b" with components in range 0.0-1.0 -->
    <ambient editable="1"></ambient>
    <diffuse editable="1"></diffuse>
    <specular editable="1"></specular>
    <emission editable="1"></emission>
    <!-- floating point values -->
    <shininess editable="1"></shininess>
    <reflectivity editable="1"></reflectivity>
    <texturemix editable="1"></texturemix>
    <!-- string value -->
    <imagename editable="1"></imagename>
    <!-- boolean values 0/1 -->
    <blended editable="1"></blended>
    <doublesided editable="1"></doublesided>
    <flatreflectivity editable="1"></flatreflectivity>
    <unlit editable="1"></unlit>
    <alphamask editable="1"></alphamask>
    <texturewrapu editable="1"></texturewrapu>
    <texturewarpv editable="1"></texturewarpv>
    <!-- texture min/mag filters: supported values "POINT", "LINEAR", "MIPMAP" -->
    <textureminfilter editable="1"></textureminfilter>
    <texturemagfilter editable="1"></texturemagfilter>
    <!-- texture environment modes: supported values "MODULATE", "REPLACE", "DECAL", "BLEND", "ADD", "INTERPOLATE" -->
    <textureenvmode editable="1"></textureenvmode>
    <!-- texture generation modes: supported values "NONE", "EYE", "OBJECT", "SPHERE", "NORMAL", "REFLECTION" -->
    <texturegenmodeu editable="1"></texturegenmodeu>
    <texturegenmodev editable="1"></texturegenmodev>
    <!-- blending functions: supported values "ZERO (None)", "ONE", "SRC_COLOR", "ONE_MINUS_SRC_COLOR", "DST_COLOR", "ONE_MINUS_DST_COLOR", "SRC_ALPHA", "ONE_MINUS_SRC_ALPHA", "DST_ALPHA" -->
    <blendfuncsrc editable="1"></blendfuncsrc>
    <blendfuncdst editable="1"></blendfuncdst>
  </material>

  <material name="Glass">
    <!-- colors "r, g, b" with components in range 0.0-1.0 -->
    <ambient editable="1"></ambient>
    <diffuse editable="1"></diffuse>
    <specular editable="1"></specular>
    <emission editable="1"></emission>
    <!-- floating point values -->
    <shininess editable="1"></shininess>
    <reflectivity editable="1"></reflectivity>
    <texturemix editable="1"></texturemix>
    <!-- string value -->
    <imagename editable="1"></imagename>
    <!-- boolean values 0/1 -->
    <blended editable="1"></blended>
    <doublesided editable="1"></doublesided>
    <flatreflectivity editable="1"></flatreflectivity>
    <unlit editable="1"></unlit>
    <alphamask editable="1"></alphamask>
    <texturewrapu editable="1"></texturewrapu>
    <texturewarpv editable="1"></texturewarpv>
    <!-- texture min/mag filters: supported values "POINT", "LINEAR", "MIPMAP" -->
    <textureminfilter editable="1"></textureminfilter>
    <texturemagfilter editable="1"></texturemagfilter>
    <!-- texture environment modes: supported values "MODULATE", "REPLACE", "DECAL", "BLEND", "ADD", "INTERPOLATE" -->
    <textureenvmode editable="1"></textureenvmode>
    <!-- texture generation modes: supported values "NONE", "EYE", "OBJECT", "SPHERE", "NORMAL", "REFLECTION" -->
    <texturegenmodeu editable="1"></texturegenmodeu>
    <texturegenmodev editable="1"></texturegenmodev>
    <!-- blending functions: supported values "ZERO (None)", "ONE", "SRC_COLOR", "ONE_MINUS_SRC_COLOR", "DST_COLOR", "ONE_MINUS_DST_COLOR", "SRC_ALPHA", "ONE_MINUS_SRC_ALPHA", "DST_ALPHA" -->
    <blendfuncsrc editable="1"></blendfuncsrc>
    <blendfuncdst editable="1"></blendfuncdst>
  </material>

  <material name="Lacquer / Varnish">
    <!-- colors "r, g, b" with components in range 0.0-1.0 -->
    <ambient editable="1"></ambient>
    <diffuse editable="1"></diffuse>
    <specular editable="1"></specular>
    <emission editable="1"></emission>
    <!-- floating point values -->
    <shininess editable="1"></shininess>
    <reflectivity editable="1"></reflectivity>
    <texturemix editable="1"></texturemix>
    <!-- string value -->
    <imagename editable="1"></imagename>
    <!-- boolean values 0/1 -->
    <blended editable="1"></blended>
    <doublesided editable="1"></doublesided>
    <flatreflectivity editable="1"></flatreflectivity>
    <unlit editable="1"></unlit>
    <alphamask editable="1"></alphamask>
    <texturewrapu editable="1"></texturewrapu>
    <texturewarpv editable="1"></texturewarpv>
    <!-- texture min/mag filters: supported values "POINT", "LINEAR", "MIPMAP" -->
    <textureminfilter editable="1"></textureminfilter>
    <texturemagfilter editable="1"></texturemagfilter>
    <!-- texture environment modes: supported values "MODULATE", "REPLACE", "DECAL", "BLEND", "ADD", "INTERPOLATE" -->
    <textureenvmode editable="1"></textureenvmode>
    <!-- texture generation modes: supported values "NONE", "EYE", "OBJECT", "SPHERE", "NORMAL", "REFLECTION" -->
    <texturegenmodeu editable="1"></texturegenmodeu>
    <texturegenmodev editable="1"></texturegenmodev>
    <!-- blending functions: supported values "ZERO (None)", "ONE", "SRC_COLOR", "ONE_MINUS_SRC_COLOR", "DST_COLOR", "ONE_MINUS_DST_COLOR", "SRC_ALPHA", "ONE_MINUS_SRC_ALPHA", "DST_ALPHA" -->
    <blendfuncsrc editable="1"></blendfuncsrc>
    <blendfuncdst editable="1"></blendfuncdst>
  </material>
  
  <material name="Metal">
    <!-- colors "r, g, b" with components in range 0.0-1.0 -->
    <ambient editable="1"></ambient>
    <diffuse editable="1"></diffuse>
    <specular editable="1"></specular>
    <emission editable="1"></emission>
    <!-- floating point values -->
    <shininess editable="1"></shininess>
    <reflectivity editable="1"></reflectivity>
    <texturemix editable="1"></texturemix>
    <!-- string value -->
    <imagename editable="1"></imagename>
    <!-- boolean values 0/1 -->
    <blended editable="1"></blended>
    <doublesided editable="1"></doublesided>
    <flatreflectivity editable="1"></flatreflectivity>
    <unlit editable="1"></unlit>
    <alphamask editable="1"></alphamask>
    <texturewrapu editable="1"></texturewrapu>
    <texturewarpv editable="1"></texturewarpv>
    <!-- texture min/mag filters: supported values "POINT", "LINEAR", "MIPMAP" -->
    <textureminfilter editable="1"></textureminfilter>
    <texturemagfilter editable="1"></texturemagfilter>
    <!-- texture environment modes: supported values "MODULATE", "REPLACE", "DECAL", "BLEND", "ADD", "INTERPOLATE" -->
    <textureenvmode editable="1"></textureenvmode>
    <!-- texture generation modes: supported values "NONE", "EYE", "OBJECT", "SPHERE", "NORMAL", "REFLECTION" -->
    <texturegenmodeu editable="1"></texturegenmodeu>
    <texturegenmodev editable="1"></texturegenmodev>
    <!-- blending functions: supported values "ZERO (None)", "ONE", "SRC_COLOR", "ONE_MINUS_SRC_COLOR", "DST_COLOR", "ONE_MINUS_DST_COLOR", "SRC_ALPHA", "ONE_MINUS_SRC_ALPHA", "DST_ALPHA" -->
    <blendfuncsrc editable="1"></blendfuncsrc>
    <blendfuncdst editable="1"></blendfuncdst>
  </material>

  <material name="Plastic">
  </material>

  <material name="Polished Metal">
    <!-- colors "r, g, b" with components in range 0.0-1.0 -->
    <ambient editable="1"></ambient>
    <diffuse editable="1"></diffuse>
    <specular editable="1"></specular>
    <emission editable="1"></emission>
    <!-- floating point values -->
    <shininess editable="1"></shininess>
    <reflectivity editable="1"></reflectivity>
    <texturemix editable="1"></texturemix>
    <!-- string value -->
    <imagename editable="1"></imagename>
    <!-- boolean values 0/1 -->
    <blended editable="1"></blended>
    <doublesided editable="1"></doublesided>
    <flatreflectivity editable="1"></flatreflectivity>
    <unlit editable="1"></unlit>
    <alphamask editable="1"></alphamask>
    <texturewrapu editable="1"></texturewrapu>
    <texturewarpv editable="1"></texturewarpv>
    <!-- texture min/mag filters: supported values "POINT", "LINEAR", "MIPMAP" -->
    <textureminfilter editable="1"></textureminfilter>
    <texturemagfilter editable="1"></texturemagfilter>
    <!-- texture environment modes: supported values "MODULATE", "REPLACE", "DECAL", "BLEND", "ADD", "INTERPOLATE" -->
    <textureenvmode editable="1"></textureenvmode>
    <!-- texture generation modes: supported values "NONE", "EYE", "OBJECT", "SPHERE", "NORMAL", "REFLECTION" -->
    <texturegenmodeu editable="1"></texturegenmodeu>
    <texturegenmodev editable="1"></texturegenmodev>
    <!-- blending functions: supported values "ZERO (None)", "ONE", "SRC_COLOR", "ONE_MINUS_SRC_COLOR", "DST_COLOR", "ONE_MINUS_DST_COLOR", "SRC_ALPHA", "ONE_MINUS_SRC_ALPHA", "DST_ALPHA" -->
    <blendfuncsrc editable="1"></blendfuncsrc>
    <blendfuncdst editable="1"></blendfuncdst>
  </material>

  <material name="Rubber">
    <!-- colors "r, g, b" with components in range 0.0-1.0 -->
    <ambient editable="1"></ambient>
    <diffuse editable="1"></diffuse>
    <specular editable="1"></specular>
    <emission editable="1"></emission>
    <!-- floating point values -->
    <shininess editable="1"></shininess>
    <reflectivity editable="1"></reflectivity>
    <texturemix editable="1"></texturemix>
    <!-- string value -->
    <imagename editable="1"></imagename>
    <!-- boolean values 0/1 -->
    <blended editable="1"></blended>
    <doublesided editable="1"></doublesided>
    <flatreflectivity editable="1"></flatreflectivity>
    <unlit editable="1"></unlit>
    <alphamask editable="1"></alphamask>
    <texturewrapu editable="1"></texturewrapu>
    <texturewarpv editable="1"></texturewarpv>
    <!-- texture min/mag filters: supported values "POINT", "LINEAR", "MIPMAP" -->
    <textureminfilter editable="1"></textureminfilter>
    <texturemagfilter editable="1"></texturemagfilter>
    <!-- texture environment modes: supported values "MODULATE", "REPLACE", "DECAL", "BLEND", "ADD", "INTERPOLATE" -->
    <textureenvmode editable="1"></textureenvmode>
    <!-- texture generation modes: supported values "NONE", "EYE", "OBJECT", "SPHERE", "NORMAL", "REFLECTION" -->
    <texturegenmodeu editable="1"></texturegenmodeu>
    <texturegenmodev editable="1"></texturegenmodev>
    <!-- blending functions: supported values "ZERO (None)", "ONE", "SRC_COLOR", "ONE_MINUS_SRC_COLOR", "DST_COLOR", "ONE_MINUS_DST_COLOR", "SRC_ALPHA", "ONE_MINUS_SRC_ALPHA", "DST_ALPHA" -->
    <blendfuncsrc editable="1"></blendfuncsrc>
    <blendfuncdst editable="1"></blendfuncdst>
  </material>

</materials>
