//  Material Include file.
//
//  This file was generated for POV-Ray V3.5 by
//  NOTE: Do *NOT* remove the comment lines containing '$MRY$'.
//        To make Moray not re-export the material, change
//        the '$MRY$' to '$MRX$'.
//


//
// ********  MATERIALS  *******
//







// Materials from previous exports [MRY]

// Materials exported in this run [MRY]



//  $MRY$: 'SocketBlack'


#declare _auto_name_no_1_ = 
   texture
   {   
      pigment
      {
         agate
         agate_turb 1.0
         color_map
         {
            [ 0.0     rgbft <0.0, 0.0, 0.0, 0.0, 0.0> ]
            [ 1.0     rgbft <0.08, 0.08, 0.08, 0.0, 0.0> ]
         }
      }   
      normal
      {
         bozo , 0.5
         scale  0.1
      }   
      finish
      {
         ambient 0.1
         reflection
         {
            0.0 , 0.2
            fresnel  off
            falloff  1.0
            exponent 1.0
            metallic 0.0
         }
      }   
      scale  0.5
   }
   texture
   {   
      pigment
      {
         wrinkles
         color_map
         {
            [ 0.0     rgbft <0.197441, 0.34551, 0.112823, 0.5104, 0.0> ]
            [ 0.302491  rgbft <1.0, 1.0, 1.0, 1.0, 0.0> ]
            [ 1.0     rgbft <1.0, 1.0, 1.0, 1.0, 0.0> ]
         }
         warp
         {
            turbulence <0.5, 0.5, 0.5>

         }
      }   
      normal
      {
         agate , 0.4
         agate_turb 1.0
      }   
      finish
      {
         ambient 0.1
         reflection
         {
            0.0 , 0.1
            fresnel  off
            falloff  1.0
            exponent 1.0
            metallic 0.0
         }
      }   
      scale  0.05
   }
   texture
   {   
      pigment
      {
         bozo
         color_map
         {
            [ 0.0     rgbft <0.906233, 0.906233, 0.906233, 1.0, 0.0> ]
            [ 0.5     rgbft <1.0, 1.0, 1.0, 1.0, 0.0> ]
            [ 1.0     rgbft <1.0, 1.0, 1.0, 1.0, 0.0> ]
         }
         scale  0.01
      }
   }

#declare SocketBlack = 
   material  // SocketBlack
   {   
      texture { _auto_name_no_1_ }
   }


//  $MRY$: 'WhiteMaterial'


#declare WhiteMaterial = 
   material  // WhiteMaterial
   {   

      texture
      {
      	TrunkWhiteT
      	
      	scale TrunkHeight
      	rotate <90, 0, 90>
      }

   }


//  $MRY$: 'TrunkRed'


#declare TrunkRed = 
   material  // TrunkRed
   {   

      texture
      {
      	pigment
      	{
      		TrunkRedP
      	}
      
      	finish
      	{
      		reflection 0.3
      	}
      }
      
      rotate <90, 0, 90>
      translate TrunkOffset

   }


//  $MRY$: 'TopFloor'


#declare TopFloor = 
   material  // TopFloor
   {   
      texture
      {      
         pigment
         {
            bozo
            color_map
            {
               [ 0.0     rgbft <0.281233, 0.281233, 0.281233, 0.0, 0.0> ]
               [ 0.5     rgbft <0.2604, 0.2604, 0.2604, 0.0, 0.0> ]
               [ 1.0     rgbft <0.427067, 0.427067, 0.427067, 0.0, 0.0> ]
            }
            warp
            {
               turbulence <0.5, 0.5, 0.5>

            }
         }      
         normal
         {
            agate , 0.5
            agate_turb 1.0
            scale  0.01
         }
      }
   }


//  $MRY$: 'RailingMat'


#declare RailingMat = 
   material  // RailingMat
   {   
      texture
      {      
         pigment
         {
            bozo
            color_map
            {
               [ 0.0     rgbft <1.0, 1.0, 0.784314, 0.0, 0.0> ]
               [ 0.5     rgbft <0.941176, 0.941176, 0.941176, 0.0, 0.0> ]
               [ 1.0     rgbft <0.941176, 0.941176, 0.941176, 0.0, 0.0> ]
            }
            warp
            {
               turbulence <0.5, 0.5, 0.5>

            }
         }
      }
   }


//  $MRY$: 'MorayRoofMaterial'


#declare MorayRoofMaterial = 
   material  // MorayRoofMaterial
   {   

      RoofMaterial
      rotate <90, 0, 90>

   }


//  $MRY$: 'Glass'


#declare Glass = 
   material  // Glass
   {   
      texture
      {      
         pigment
         {
            color rgbf <1.0, 1.0, 1.0, 0.7>
         }      
         finish
         {
            ambient 0.0
            diffuse 0.0
            specular 1.0
            roughness 0.001
            reflection
            {
               0.1 , 0.9
               fresnel  off
               falloff  1.0
               exponent 1.0
               metallic 0.0
            }
         }
      }   
      interior
      {
         ior 1.5
      }
   }


//  $MRY$: 'MorayTrunkMaterial'


#declare MorayTrunkMaterial = 
   material  // MorayTrunkMaterial
   {   

      TrunkMaterial
      rotate <90, 0, 90>

   }


//  $MRY$: 'MorayTrunkTopMaterial'


#declare MorayTrunkTopMaterial = 
   material  // MorayTrunkTopMaterial
   {   

      TrunkTopMaterial
      rotate <90, 0, 90>

   }


//  $MRY$: 'BlackMaterial'


#declare BlackMaterial = 
   material  // BlackMaterial
   {   

      texture
      {
      	TrunkBlackT
      	
      	scale TrunkHeight
      	rotate <90, 0, 90>
      }

   }


//  $MRY$: 'MorayLatticeMaterial'


#declare MorayLatticeMaterial = 
   material  // MorayLatticeMaterial
   {   

      LatticeMaterial
      rotate <90, 0, 90>

   }


//  $MRY$: 'Gray'


#declare Gray = 
   material  // Gray
   {   
      texture
      {      
         pigment
         {
            color rgb <0.718733, 0.718733, 0.718733>
         }      
         finish
         {
            ambient 0.136667
            specular 0.079133
         }
      }
   }


//  $MRY$: 'FlagMaterial'


#declare FlagMaterial = 
   material  // FlagMaterial
   {   
      texture
      {      
         pigment
         {
            image_map
            {
               tga   "valogo.tga"
               once
            }
         }      

      }
   }


//  $MRY$: 'T_mat_1'


#declare T_mat_1 = 
   material  // T_mat_1
   {   
      texture
      {      
         pigment
         {
            color rgb <0.83887, 0.458973, 0.306514>
         }      
         finish
         {
            ambient 0.2
            specular 0.4
            roughness 0.01
         }
      }
   }


//  $MRY$: 'Black'


#declare Black = 
   material  // Black
   {   
      texture
      {      
         pigment
         {
            color rgb <0.0, 0.0, 0.0>
         }
      }
   }


//  $MRY$: 'Temp'


#declare Temp = 
   material  // Temp
   {   
      texture
      {      
         pigment
         {
            color rgb <0.0104, 0.0104, 0.968733>
         }
      }
   }


//  $MRY$: 'MorayOceanMaterial'


#declare MorayOceanMaterial = 
   material  // MorayOceanMaterial
   {   

      OceanMaterial

   }


//  $MRY$: 'Clouds'


#declare Clouds = 
   material  // Clouds
   {   
      texture
      {      
         pigment
         {
            bozo
            color_map
            {
               [ 0.0     rgbft <0.2604, 0.2604, 0.2604, 0.093733, 0.0> ]
               [ 0.5     rgbft <0.6302, 0.6302, 0.6302, 0.0104, 0.0> ]
               [ 0.75    rgbft <0.8151, 0.8151, 0.8151, 0.031233, 0.0> ]
               [ 0.875   rgbft <0.90755, 0.90755, 0.90755, 0.052067, 0.0> ]
               [ 1.0     rgbft <1.0, 1.0, 1.0, 1.0, 0.0> ]
            }
         }      
         finish
         {
            ambient 1.0
            diffuse 0.0
         }
      }
   }


//  $MRY$: 'MorayRainMaterial'


#declare MorayRainMaterial = 
   material  // MorayRainMaterial
   {   

      RainMaterial

   }


//  $MRY$: 'SkyMaterial'


#declare SkyMaterial = 
   material  // SkyMaterial
   {   
      texture
      {      
         pigment
         {
            gradient z
            color_map
            {
               [ 0.0     rgbft <0.290196, 0.47451, 0.678431, 0.0, 0.0> ]
               [ 0.5     rgbft <0.290196, 0.47451, 0.678431, 0.0, 0.0> ]
               [ 1.0     rgbft <0.223529, 0.447059, 0.717647, 0.0, 0.0> ]
            }

         }      
         finish
         {
            ambient 1.0
            diffuse 0.0
         }
      }
   }


//  $MRY$: 'Mat_Body'


#declare Mat_Body = 
   material  // Mat_Body
   {   
      texture
      {      
         pigment
         {
            gradient z
            color_map
            {
               [ 0.0     rgbft <0.0, 0.5104, 0.1354, 0.0, 0.0> ]
               [ 0.4     rgbft <0.0, 0.5104, 0.1354, 0.0, 0.0> ]
               [ 0.4     rgbft <1.0, 1.0, 1.0, 0.0, 0.0> ]
               [ 1.0     rgbft <1.0, 1.0, 1.0, 0.0, 0.0> ]
            }
            scale  20.01
            translate 10.0 * z
         }
      }
   }


//  $MRY$: 'Mat_RigTrunk'


#declare Mat_RigTrunk = 
   material  // Mat_RigTrunk
   {   
      texture
      {      
         pigment
         {
            color rgb <0.677067, 0.677067, 0.468733>
         }
      }
   }


//  $MRY$: 'Mat_Canvas'


#declare Mat_Canvas = 
   material  // Mat_Canvas
   {   
      texture
      {      
         pigment
         {
            crackle form <-1.0, 1.0, 0.0>
            color_map
            {
               [ 0.0     rgbft <0.906233, 0.906233, 0.906233, 0.0, 0.0> ]
               [ 0.007117  rgbft <0.93436, 0.93436, 0.919773, 0.0, 0.0> ]
               [ 1.0     rgbft <1.0, 1.0, 1.0, 0.0, 0.0> ]
            }
         }
      }
   }


//  $MRY$: 'Mat_DarkOak'


#declare Mat_DarkOak = 
   material  // Mat_DarkOak
   {   

      texture
      {   
      	pigment
      	{
      		marble
      		
      		pigment_map
      		{
      			[ 0.0  color rgb 0 ]
      			[ 0.06
      				
      					bozo
      					color_map
      					{
      						[ 0.0     rgb <0.6, 0.3, 0.18> * 0.5 ]
      						[ 0.1     rgb <0.6, 0.3, 0.18> * 0.5 ]
      						[ 0.9     rgb <0.3, 0.15, 0.09> * 0.5 ]
      						[ 1.0     rgb <0.3, 0.15, 0.09> * 0.5 ]
      					}
      					turbulence 0.04
      					scale 0.2
      			]
      		}
      		
      		scale <1/20, 1, 0.5>
      
      		warp
      		{
      			cylindrical 
      			orientation y
      		}
      		
      		rotate 90*x
      	}
      	normal
      	{
      		granite 0.2
      	}
      	finish
      	{
      		reflection
      		{
      			0.0, 0.3
      		}
      	}
      }
      texture
      {      
      	pigment
      	{
      		image_map
      		{
      			tga   "copy.tga"
      			//map_type 2
      			once
      			interpolate 2
      			transmit 0, 1.0
      		}
      		scale <2, 0.5, 1> * 0.6
      		rotate <90, 90, 0>
      		translate 0.6*z
      	}
      	finish
      	{
      		reflection
      		{
      			0.0, 0.3
      		}
      	}
      }

   }


//  $MRY$: 'Mat_Rust'


#declare Mat_Rust = 
   material  // Mat_Rust
   {   
      texture
      {      
         pigment
         {
            granite
            color_map
            {
               [ 0.0     rgbft <0.560212, 0.264544, 0.085588, 0.0, 0.0> ]
               [ 0.4     rgbft <0.312467, 0.05803, 0.0, 0.0, 0.0> ]
               [ 0.5     rgbft <0.31734, 0.188564, 0.036793, 0.0, 0.0> ]
               [ 0.6     rgbft <0.198842, 0.125798, 0.113624, 0.0, 0.0> ]
               [ 1.0     rgbft <0.451778, 0.21334, 0.069022, 0.0, 0.0> ]
            }
         }      
         normal
         {
            granite , 0.1
         }      
         finish
         {
            ambient 0.2
            diffuse 0.4
            reflection
            {
               0.0 , 0.3
               fresnel  off
               falloff  1.0
               exponent 1.0
               metallic 0.0
            }
         }      
         scale  0.3
      }
   }
