; Vertex/fragment shader templates
;
{
; 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_reflect
{
; Just reflection
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_reflect
{
cast_shadow=1
fresnel
{
bias=0.06
scale=0.98
power=2
}
vertex_shader
{
file=dyn_standard_reflect_window_v.cg
}
fragment_shader
{
file=dyn_standard_reflect_window_f.cg
}
}
vf_standard
{
vertex_shader
{
file=dyn_standard_v.cg
}
fragment_shader
{
file=standard_f.cg
}
}
vf_bump
{
vertex_shader
{
file=dyn_standard_bump_v.cg
}
fragment_shader
{
file=dyn_standard_bump_f.cg
}
}
vf_glass
{
  vertex_shader
  {
    file=dyn_standard_reflect_window_v.cg
  }
  fragment_shader
  {
    file=dyn_standard_reflect_window_f.cg
  }
}
vf_reflect
{
  cast_shadow=1
  vertex_shader
  {
    file=dyn_standard_reflect_v.cg
  }
  fragment_shader
  {
    file=dyn_standard_reflect_f.cg
  }
}
shader_matte_ffaae3ff_primenv4spec~vf_reflect
{
cast_shadow=1
cull=none
compression=0
reflect=0.3
shininess=15
diffuse=0.5 0.5 0.5 1
ambient=1 1 1 1
specular=0 0 0 1
fresnel
{
bias=0.05
power=2.0
scale=1.0
}
layer0
{
map=bodycolor.tga
}
layer1
{
map=$trackenvmap
}
}
shader_matte_ff252525_spec~vf_standard
{
cast_shadow=1
layer0
{
map=black_2.tga
emission=0 0 0 1
shininess=0
specular=0 0 0 1
}
}
shader_matte_ff7f7f7f_spec~vf_standard
{
cast_shadow=1
layer0
{
map=aluminium.tga
emission=0 0 0 1
shininess=0
specular=0 0 0 1
}
}
shader_pretoc_spec~vf_standard
{
cast_shadow=1
layer0
{
map=pretoc.tga
emission=0 0 0 1
shininess=0
specular=0 0 0 1
}
}
shader_lampa_spectrans~vf_reflect_window
{
sort_offset=1
compression=0
reflect=0
mipmap_bias=2
fresnel
{
bias=0.04
scale=0.96
power=4.0
}
layer0
{
map=lampa.tga
blendfunc=blend
}
layer1
{
map=$trackenvmap
}
}
shader_lampa2_env0spectrans~vf_reflect_window
{
sort_offset=1
compression=0
reflect=0
mipmap_bias=2
fresnel
{
bias=0.04
scale=0.96
power=4.0
}
layer0
{
map=lampa2.tga
blendfunc=blend
}
layer1
{
map=$trackenvmap
}
}
shader_lampa2_spec~vf_reflect_window
{
sort_offset=1
compression=0
reflect=0
mipmap_bias=2
fresnel
{
bias=0.04
scale=0.96
power=4.0
}
layer0
{
map=lampa2.tga
blendfunc=blend
}
layer1
{
map=$trackenvmap
}
}
shader_fotel_spec~vf_standard
{
cast_shadow=1
layer0
{
map=fotel.tga
emission=0 0 0 1
shininess=0
specular=0 0 0 1
}
}
shader_interior_lod0_spec~vf_standard
{
cast_shadow=1
layer0
{
map=interior_lod0.tga
emission=0 0 0 1
shininess=0
specular=0 0 0 1
}
}
shader_matte_ffcccccc_spec~vf_reflect_window
{
sort_offset=1
compression=0
reflect=0
mipmap_bias=2
fresnel
{
bias=0.04
scale=0.96
power=4.0
}
layer0
{
map=mirror.tga
blendfunc=blend
}
layer1
{
map=$trackenvmap
}
}
shader_matte_matte_ffcccccc_spec~vf_reflect_window
{
sort_offset=1
compression=0
reflect=0
mipmap_bias=2
fresnel
{
bias=0.04
scale=0.96
power=4.0
}
layer0
{
map=mirror.tga
blendfunc=blend
}
layer1
{
map=$trackenvmap
}
}
shader_CHROMEEE~vf_reflect
{
compression=0
ambient=0.1 0.1 0.1
diffuse=0.1 0.1 0.1
specular=0.1 0.1 0.1 ; no specular for solid colours
shininess=16
reflect=1 ;max reflect, for chrome - bodge with modded dyn_reflect shader
sort_offset=1
compression=0
layer0
{
map=CHROMEEE.tga
}
layer1
{
; Reflection cubemap
map=$trackenvmap
}
}
shader_klosik_lod0~vf_standard 
{
cast_shadow=1
cull=none
compression=0
reflect=0.3
shininess=15
diffuse=0.5 0.5 0.5 1
ambient=1 1 1 1
specular=0 0 0 1
fresnel
{
bias=0.05
power=2.0
scale=1.0
}
layer0
{
map=klosik_lod0
}
layer1
{
map=$trackenvmap
}
}

shader_matte_79293434~vf_reflect_window
{
sort_offset=1
compression=0
reflect=0
mipmap_bias=2
fresnel
{
bias=0.04
scale=0.96
power=4.0
}
layer0
{
map=klosik_lod0.tga
blendfunc=blend
}
layer1
{
map=$trackenvmap
}
}
shader_aluminium_env7spec~vf_standard
{
cast_shadow=1
layer0
{
map=aluminium.tga
emission=0 0 0 1
shininess=0
specular=0 0 0 1
}
}
shader_aluminium_spec~vf_standard 
{
cast_shadow=1
cull=none
compression=0
reflect=0.3
shininess=15
diffuse=0.5 0.5 0.5 1
ambient=1 1 1 1
specular=0 0 0 1
fresnel
{
bias=0.05
power=2.0
scale=1.0
}
layer0
{
map=aluminium.tga
}
layer1
{
map=$trackenvmap
}
}
shader_matte_ff888888_spec~vf_standard
{
cast_shadow=1
layer0
{
map=aluminium.tga
emission=0 0 0 1
shininess=0
specular=0 0 0 1
}
}
shader_matte_ff1f1f1f~vf_reflect_bump
{
cast_shadow=1
layer0
{
map=aluminium.tga
emission=0 0 0 1
shininess=0
specular=0 0 0 1
}
}
shader_matte_ff1f1f1f_spec~vf_standart
{
    cast_shadow=1
    cull=none
    compression=0
    reflect=0.3
    shininess=15
    diffuse=0.5 0.5 0.5 1
    ambient=1 1 1 1
    specular=0 0 0 1
    fresnel
    {
        bias=0.05
        power=2.0
        scale=1.0
    }
    layer0
    {
        map=pretoc.tga
    }
    layer1
    {
        map=$trackenvmap
    }
}
shader_4_spec~vf_standart
{
    cast_shadow=1
    cull=none
    compression=0
    reflect=0.3
    shininess=15
    diffuse=0.5 0.5 0.5 1
    ambient=1 1 1 1
    specular=0 0 0 1
    fresnel
    {
        bias=0.05
        power=2.0
        scale=1.0
    }
    layer0
    {
        map=4.tga.
    }
    layer1
    {
        map=$trackenvmap
    }
}
shader_fotel2~vf_standard
{
cast_shadow=1
layer0
{
map=fotel2.tga
emission=0 0 0 1
shininess=0
specular=0 0 0 1
}
}
shader_matte_ff1f1f1f_spec~vf_reflect
{
cast_shadow=1
layer0
{
map=pretoc.tga
emission=0 0 0 1
shininess=0
specular=0 0 0 1
}
}





shader_wheel~vf_standard
{
  layer0
  {
    map=wheel.tga
  }
}

shader_tread
{
  layer0
  {
    map=tread.tga
  }
}

}




shader_matte_79293434_spectrans~vf_glass

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