;SHADER DEFINITIONS
vf_reflect
{
  vertex_shader
  {
    file=dyn_standard_reflect_v.cg
  }
  fragment_shader
  {
    file=dyn_standard_reflect_f.cg
  }
}
vf_glass
{
  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_emission
{
  vertex_shader
  {
    file=dyn_standard_v.cg
  }
  fragment_shader
  {
    file=standard_hlight_f.cg
  }
}
vf_bumpspeca
{
  vertex_shader
  {
    file=dyn_standard_bump_v.cg
  }
  fragment_shader
  {
    file=dyn_standard_bump_f.cg
  }
}
vf_speca
{
  vertex_shader
  {
    file=dyn_standard_v.cg
  }
  fragment_shader
  {
    file=dyn_standard_speca_f.cg
  }
}
;SHADERS
shader_murcielago_paintwork~vf_reflect
{
  cast_shadow=1
  reflect=1
  diffuse=0.97 0.25 0 1
  ambient=0.88 0.19 0 1
  specular=1 0.75 0.25 1
  shininess=14
  mipmap=6
  fresnel
  {
    bias=0.06
    scale=0.98
    power=2
  }
  layer0
  {
    map=lambobody.tga
  }
  layer1
  {
    map=$trackenvmap
  }
}
shader_murcielago_gloss~vf_reflect
{
  cast_shadow=1
  reflect=1
  shininess=16
  specular=0 0 0 0
  fresnel
  {
    bias=0.1
    scale=0.9
    power=2
  }
  layer0
  {
    map=lambobody.tga
  }
  layer1
  {
    map=$trackenvmap
  }
}
shader_murcielago_matte~vf_standard
{
  cast_shadow=1
  layer0
  {
    map=lambobody.tga
    emission=0 0 0 1
    shininess=0
    specular=0 0 0 1
  }
}
shader_murcielago_glass~vf_glass
{
  cast_shadow=1
  ;sort_offset=5
  reflect=1
  shininess=16
  specular=0 0 0 0
  mipmap=5
  layer0
  {
    map=glass.tga
    blendfunc=blend
  }
  layer1
  {
    map=$trackenvmap
  }
}
shader_murcielago_decal~vf_standard
{
  shininess=32
  specular=0.75 0.75 0.75 1
  layer0
  {
    map=glass.tga
    blendfunc=blend
  }
}
shader_murcielago_bump~vf_bumpspeca
{
  ;cast_shadow=1
  shininess=16
  specular=0.5 0.5 0.5 1
  tangents=1
  layer0
  {
    map=lambobody.tga
  }
  layer1
  {
    compression=0
    mode=linear
    map=lambobody_bump.tga
  }
}
shader_murcielago_matte_underneath~vf_standard
{
  shininess=32
  specular=0 0 0 0
  layer0
  {
    map=underbodytex.tga
  }
}
shader_murcielago_wheel~vf_reflect
{
  cast_shadow=1
  reflect=1
  specular=0.5 0.5 0.5 1
  shininess=32
  mipmap=5
  fresnel
  {
    bias=0.5
    scale=0.5
    power=2
  }
  layer0
  {
    map=tirerim.tga
  }
  layer1
  {
    map=$trackenvmap
  }
}
shader_murcielago_wheelinside~vf_standard
{
  shininess=32
  specular=0 0 0 0
  layer0
  {
    map=tireriminside.tga
  }
}
shader_murcielago_tyre_side~vf_speca
{
  cast_shadow=1
  shininess=18
  specular=0.4 0.4 0.45 1
  layer0
  {
    map=tirerim.tga
  }
}
shader_murcielago_tyre~vf_bumpspeca
{
  cast_shadow=1
  shininess=18
  specular=0.4 0.4 0.45 1
  tangents=1
  layer0
  {
    map=tiretread.tga
  }
  layer1
  {
    compression=0
    mode=linear
    map=tiretread_bumpa.tga
  }
}
shader_murcielago_brake_caliper~vf_reflect
{
  reflect=1
  specular=0 0 0 0
  shininess=16
  layer0
  {
    map=brakedisktext.tga
  }
  layer1
  {
    map=$trackenvmap
  }
}
shader_murcielago_brake_disc
{
  layer0
  {
    map=brakedisktext.tga
    emission=0 0 0 1
    shininess=32
    specular=1 1 1 1
  }
  vertex_shader
  {
    file=dyn_standard_v.cg
  }
  fragment_shader
  {
    file=standard_heat_f.cg
  }
}
shader_wheelinside~vf_standard
{
  layer0
  {
    map=tireriminside.tga
  }
}
shader_murcielago_emission_headlights~vf_emission
{
  shininess=16
  specular=1 1 1 1
  layer0
  {
    map=brakelight.tga
    blendfunc=blend
    emission=250 250 300 1
  }
}
shader_murcielago_emission~vf_emission
{
  shininess=0
  specular=1 1 1 1
  layer0
  {
    map=brakelight.tga
    blendfunc=blend
    emission=130 130 130 1
  }
}
shader_murcielago_mirror
{
  layer0
  {
    map=$mirror
    texscale_s=1
    texscale_r=1
    texscale_t=1
    diffuse=0.015 0.015 0.015 1
    ambient=0.015 0.015 0.015 1
  }
}
