vf_reflect
{
  cast_shadow=1
  vertex_shader
  {
    file=dyn_standard_reflect_v.cg
  }
  fragment_shader
  {
    file=dyn_standard_reflect_f.cg
  }
}

vf_reflect_bump
{
  ; Texture+bumpmap+reflection map
  vertex_shader
  {
    ;file=dyn_standard_reflect_v.cg
    ;file=dyn_standard_bump_speca_v.cg
    file=dyn_standard_bump_reflect_v.cg
  }
  fragment_shader
  {
    ;file=dyn_standard_reflect_f.cg
    ;file=dyn_standard_bump_speca_f.cg
    file=dyn_standard_bump_reflect_f.cg
  }
}

vf_bump_speca
{
  ; Specular control using the diffuse's alpha channel
  vertex_shader
  {
    file=dyn_standard_bump_speca_v.cg
  }
  fragment_shader
  {
    file=dyn_standard_bump_speca_f.cg
  }
}

vf_glass
{
  vertex_shader
  {
    file=dyn_standard_reflect_window_v.cg
  }
  fragment_shader
  {
    file=dyn_standard_reflect_window_f.cg
  }
}

vf_emission
{
  vertex_shader
  {
    file=dyn_standard_v.cg
  }
  fragment_shader
  {
    file=standard_hlight_f.cg
  }
}

vf_bump
{
  cast_shadow=1
  compression=0
  tangents=1
  ; Texture+bumpmap
  vertex_shader
  {
    file=dyn_standard_bump_v.cg
    ;file=dyn_standard_reflect_v.cg
  }
  fragment_shader
  {
    file=dyn_standard_bump_f.cg
    ;file=dyn_standard_reflect_f.cg
  }
}
vf_reflect_chrome
{
  reflect=2.9
  shininess=40
  diffuse=0.1 0.1 0.1 1
  specular=1 1 1 1
  ambient=0.25 0.25 0.25 1
  mipmap_bias=4
  cast_shadow=1
  vertex_shader
  {
    file=dyn_standard_reflect_v.cg
  }
  fragment_shader
  {
    file=dyn_standard_reflect_f.cg
  }
}
vf_standard
{
  cast_shadow=1
  compression=0
  tangents=1
  vertex_shader
  {
    file=dyn_standard_v.cg
  }
  fragment_shader
  {
    file=standard_f.cg
  }
}

vf_bump_reflect
{
  cast_shadow=1
  compression=0
  tangents=1
  ; Texture+bumpmap
  vertex_shader
  {
    file=dyn_standard_bump_reflect_v.cg
  }
  fragment_shader
  {
    file=dyn_standard_bump_reflect_f.cg
  }
}

;body-----------------------------------------------------------------------------

shader_remap_primenv9spec~vf_reflect
{
tangents=1
compression=1
reflect=0.2
diffuse=0.75 0.75 0.75 1
ambient=0.6 0.6 0.6 1
shininess=16
specular=0.75 0.75 0.75 1
fresnel
 {
   bias=0.1
   power=3.0
   scale=0.9
 }
layer0
 {
  map=body.tga
 }
layer1
 {
  map=$trackenvmap
 }
layer2
 {
   map=noise.tga
   mipmap_lod_bias=-1 
   }
}








shader_gt_rims_env14spec~vf_reflect
{
compression=0
tangents=1
reflect=0.4
shininess=0
specular=0.00 0.00 0.00 1
fresnel
 {
   bias=0.05
   power=2.0
   scale=1.0
 }
layer0
 {
  map=GT rims.tga
 }
layer1
 {
  map=$trackenvmap
 }
layer2
 {
   map=noise.tga
   mipmap_lod_bias=-2 
   }
}











shader_gt_rim_spec~vf_reflect
{
compression=0
tangents=1
reflect=0.4
shininess=0
specular=0.00 0.00 0.00 1
fresnel
 {
   bias=0.05
   power=2.0
   scale=1.0
 }
layer0
 {
  map=GT rim.tga
 }
layer1
 {
  map=$trackenvmap
 }
layer2
 {
   map=noise.tga
   mipmap_lod_bias=-2 
   }
}











shader_gt_badge_spec~vf_reflect
{
compression=0
tangents=1
reflect=0.4
shininess=0
specular=0.00 0.00 0.00 1
fresnel
 {
   bias=0.05
   power=2.0
   scale=1.0
 }
layer0
 {
  map=GT badge.tga
 }
layer1
 {
  map=$trackenvmap
 }
layer2
 {
   map=noise.tga
   mipmap_lod_bias=-2 
   }
}
















;metalbody--------------------------------------------------------------------

shader_matte_ff808080_env50spec~vf_reflect
{
reflect=1.357
diffuse=1 1 1
ambient=0.57 0.57 0.57
shininess=753
specular=0.357 0.357 0.357
layer0
{
  map=chrome.tga
  
 }
 layer1
  {
   map=$trackenvmap
   }
}




shader_~vf_reflect
{
reflect=1.357
diffuse=1 1 1
ambient=0.57 0.57 0.57
shininess=753
specular=0.357 0.357 0.357
layer0
{
  map=.tga
  
 }
 layer1
  {
   map=$trackenvmap
   }
}






shader_chrom3~vf_reflect
{
reflect=1.357
diffuse=1 1 1
ambient=0.57 0.57 0.57
shininess=753
specular=0.357 0.357 0.357
layer0
{
  map=chrome.tga
  
 }
 layer1
  {
   map=$trackenvmap
   }
}









shader_chrom15~vf_reflect
{
reflect=1.357
diffuse=1 1 1
ambient=0.57 0.57 0.57
shininess=753
specular=0.357 0.357 0.357
layer0
{
  map=chrome.tga
  
 }
 layer1
  {
   map=$trackenvmap
   }
}











shader_gt_interior_spec~vf_standart
{
  cast_shadow=1
reflect=0.07
ambient=0.937 0.937 0.937
specular=0.137 0.137 0.137
shininess=35.7
 layer0
 {
  map=GT interior.tga
   }
layer1
 {
   map=$trackenvmap
 }
}







shader_gt_badges_spec~vf_standart
{
  cast_shadow=1
reflect=0.07
ambient=0.937 0.937 0.937
specular=0.137 0.137 0.137
shininess=35.7
 layer0
 {
  map=GT badges.tga
   }
layer1
 {
   map=$trackenvmap
 }
}






shader_matte_ff1e1e1e_spec~vf_standart
{
  cast_shadow=1
reflect=0.07
ambient=0.937 0.937 0.937
specular=0.137 0.137 0.137
shininess=35.7
 layer0
 {
  map=czarne.tga
   }
layer1
 {
   map=$trackenvmap
 }
}









shader_gt_carbon_spec~vf_standart
{
  cast_shadow=1
reflect=0.07
ambient=0.937 0.937 0.937
specular=0.137 0.137 0.137
shininess=35.7
 layer0
 {
  map=GT Carbon.tga
   }
layer1
 {
   map=$trackenvmap
 }
}









shader_matte_ff0c0c0c_spec~vf_standart
{
  cast_shadow=1
reflect=0.07
ambient=0.937 0.937 0.937
specular=0.137 0.137 0.137
shininess=35.7
 layer0
 {
  map=czarne.tga
   }
layer1
 {
   map=$trackenvmap
 }
}









shader_gt_engine_spec~vf_standart
{
  cast_shadow=1
reflect=0.07
ambient=0.937 0.937 0.937
specular=0.137 0.137 0.137
shininess=35.7
 layer0
 {
  map=GT engine.tga
   }
layer1
 {
   map=$trackenvmap
 }
}








shader_gt_badge_spec~vf_standart
{
  cast_shadow=1
reflect=0.07
ambient=0.937 0.937 0.937
specular=0.137 0.137 0.137
shininess=35.7
 layer0
 {
  map=GT badge.tga
   }
layer1
 {
   map=$trackenvmap
 }
}











shader_gt_grill_spec~vf_standart
{
  cast_shadow=1
reflect=0.07
ambient=0.937 0.937 0.937
specular=0.137 0.137 0.137
shininess=35.7
 layer0
 {
  map=GT grill.tga
   }
layer1
 {
   map=$trackenvmap
 }
}








shader_matte_ff114182_secspec~vf_standart
{
  cast_shadow=1
reflect=0.07
ambient=0.937 0.937 0.937
specular=0.137 0.137 0.137
shininess=35.7
 layer0
 {
  map=interior1.tga
   }
layer1
 {
   map=$trackenvmap
 }
}










shader_gt_misc_spec~vf_standart
{
  cast_shadow=1
reflect=0.07
ambient=0.937 0.937 0.937
specular=0.137 0.137 0.137
shininess=35.7
 layer0
 {
  map=GT misc.tga
   }
layer1
 {
   map=$trackenvmap
 }
}




shader_gt_misc~vf_standart
{
  cast_shadow=1
reflect=0.07
ambient=0.937 0.937 0.937
specular=0.137 0.137 0.137
shininess=35.7
 layer0
 {
  map=GT misc.tga
   }
layer1
 {
   map=$trackenvmap
 }
}







hader_matte_ff000000_env4spec~vf_standart
{
  cast_shadow=1
reflect=0.07
ambient=0.937 0.937 0.937
specular=0.137 0.137 0.137
shininess=35.7
 layer0
 {
  map=czarne.tga
   }
layer1
 {
   map=$trackenvmap
 }
}




shader_matte_ff000000_env4spec~vf_standard
{
  cast_shadow=1
  compression=0
  shininess=10
  specular=0.02 0.02 0.02 1 
  layer0
  {
    map=czarne.tga
  }
}







shader_carplate_spec~vf_standart
{
  cast_shadow=1
reflect=0.07
ambient=0.937 0.937 0.937
specular=0.137 0.137 0.137
shininess=35.7
 layer0
 {
  map=GT plate.tga
   }
layer1
 {
   map=$trackenvmap
 }
}







shader_carpback_spec~vf_standart
{
  cast_shadow=1
reflect=0.07
ambient=0.937 0.937 0.937
specular=0.137 0.137 0.137
shininess=35.7
 layer0
 {
  map=plate.tga
   }
layer1
 {
   map=$trackenvmap
 }
}










shader_matte_ffb6b6b6_spec~vf_standart
{
  cast_shadow=1
reflect=0.07
ambient=0.937 0.937 0.937
specular=0.137 0.137 0.137
shininess=35.7
 layer0
 {
  map=czarne.tga
   }
layer1
 {
   map=$trackenvmap
 }
}









shader_gt_thread_spec~vf_standart
{
  cast_shadow=1
reflect=0.07
ambient=0.937 0.937 0.937
specular=0.137 0.137 0.137
shininess=35.7
 layer0
 {
  map=GT thread.tga
   }
layer1
 {
   map=$trackenvmap
 }
}









shader_gt_tyrewall_spec~vf_standart
{
  cast_shadow=1
reflect=0.07
ambient=0.937 0.937 0.937
specular=0.137 0.137 0.137
shininess=35.7
 layer0
 {
  map=GT tyrewall.tga
   }
layer1
 {
   map=$trackenvmap
 }
}





shader_gt_disc_spec~vf_standart
{
  cast_shadow=1
reflect=0.07
ambient=0.937 0.937 0.937
specular=0.137 0.137 0.137
shininess=35.7
 layer0
 {
  map=GT disc.tga
   }
layer1
 {
   map=$trackenvmap
 }
}









shader_matte_ff000000~vf_standart
{
  cast_shadow=1
reflect=0.07
ambient=0.937 0.937 0.937
specular=0.137 0.137 0.137
shininess=35.7
 layer0
 {
  map=czarne.tga
   }
layer1
 {
   map=$trackenvmap
 }
}







shader_brake~vf_luminous
{
  sort_offset=1
  layer0
    {
       map=vehiclelights_on.tga
       blendfunc=add
       ;texenv=replace
       emission=200 200 200 200
    }
}







shader_vehiclelights_on~vf_luminous
{
  sort_offset=1
  layer0
    {
       map=vehiclelights_on.tga
       blendfunc=add
       ;texenv=replace
       emission=200 200 200 200
    }
}



shader_matte_991f1f1f_env50spectrans~vf_glass

{
sort_offset=1
reflect=0.57
diffuse=1 1 1
ambient=1 1 1
layer0
{
  map=szyby.tga
  shininess=753
  blendfunc=blend
 }
 layer1
  {
   map=$trackenvmap
   }
}










shader_matte_82282828_env50spectrans~vf_glass

{
sort_offset=1
reflect=0.57
diffuse=1 1 1
ambient=1 1 1
layer0
{
  map=szyby.tga
  shininess=753
  blendfunc=blend
 }
 layer1
  {
   map=$trackenvmap
   }
}










shader_vehiclelights_specfr~vf_luminous
{
  sort_offset=1
  layer0
    {
       map=vehiclelights.tga
       blendfunc=add
       ;texenv=replace
       emission=200 200 200 200
    }
}






hader_vehiclelights_spec~vf_luminous
{
  sort_offset=1
  layer0
    {
       map=vehiclelights_on.tga
       blendfunc=add
       ;texenv=replace
       emission=200 200 200 200
    }
}







hader_vehiclelights_specrr~vf_luminous
{
  sort_offset=1
  layer0
    {
       map=vehiclelights.tga
       blendfunc=add
       ;texenv=replace
       emission=200 200 200 200
    }
}





hader_gt_lights_spec~vf_luminous
{
  sort_offset=1
  layer0
    {
       map=.tga
       blendfunc=add
       ;texenv=replace
       emission=200 200 200 200
    }
}




hader_gt_lights_spec~vf_reflect
{
;was using dyn_reflect_window.cg - shader is buggy ATM (Racer 088)
;temporarily using chrome shader - no fresnel
sort_offset=1
;sort offset needed, otherwise glass hides lit headlamp models..
reflect=1.0
diffuse=1.0 1.0 1.0
ambient=1.0 1.0 1.0
;cull=none
layer0
{
  map=GT lights.tga
  shininess=32
  blendfunc=blend
  specular=0.0 0.0 0.0 1.0 
  depthwrite=0
 }
 layer1
  {
   map=$trackenvmap
   depthwrite=0
   }
}





shader_gt_lights_spec~vf_glass
{
  cast_shadow=1
reflect=0.07
ambient=0.937 0.937 0.937
specular=0.137 0.137 0.137
shininess=35.7
 layer0
 {
  map=GT lights.tga
   }
layer1
 {
   map=$trackenvmap
 }
}










shader_vehiclelights_spec~vf_reflect
{
;was using dyn_reflect_window.cg - shader is buggy ATM (Racer 088)
;temporarily using chrome shader - no fresnel
sort_offset=1
;sort offset needed, otherwise glass hides lit headlamp models..
reflect=1.0
diffuse=1.0 1.0 1.0
ambient=1.0 1.0 1.0
;cull=none
layer0
{
  map=vehiclelights.tga
  shininess=32
  blendfunc=blend
  specular=0.0 0.0 0.0 1.0 
  depthwrite=0
 }
 layer1
  {
   map=$trackenvmap
   depthwrite=0
   }
}







