;
; Template shader file (generated by RTrackVRML)
;

;
; Vertex/fragment templates
;
vf_standard
{
  vertex_shader
  {
    file=standard_v.cg
  }
  fragment_shader
  {
    file=standard_f.cg
  }
}
vf_standard_transparent
{
  vertex_shader
  {
    file=standard_v.cg
  }
  fragment_shader
  {
    file=standard_transparent_f.cg
  }
}
vf_mix1w
{
  ; Single texture, world mapped
  vertex_shader 
  {
    file=standard_v.cg
  }
  fragment_shader
  {
    file=standard_mix1w_f.cg
  }
}
vf_mix2
{
  ; 2 textures, both world mapped
  vertex_shader 
  {
    file=standard_v.cg
  }
  fragment_shader
  {
    file=standard_mix2_f.cg
  }
}
vf_mix2w
{
  ; 2 textures with world mapping for the 2nd texture
  vertex_shader 
  {
    file=standard_v.cg
  }
  fragment_shader
  {
    file=standard_mix2w_f.cg
  }
}
vf_sky
{
  vertex_shader
  {
    file=sky_v.cg
  }
  fragment_shader
  {
    ;file=check_shader_f.cg
    file=sky_f.cg
  }
  diffuse=1 1 1
  ambient=1 1 1
}
;
; Racer shaders
;
shader_curbsand~vf_mix2w
{
  scale=0.4
  layer0
  {
    map=curbsand.tga
  }
  layer1
  {
    map=gravel.tga
  }
}
shader_gravel~vf_mix1w
{
  scale=0.4
  layer0
  {
    map=gravel.tga
  }
}
shader_road~vf_standard
{
  layer0
  {
    map=road.tga
  }
}
shader_blendtest~vf_mix2
{
  ; Texture scaling for all mixed textures (layer0 and layer1)
  scale=0.4
  layer0
  {
    map=grass.tga
  }
  layer1
  {
    map=gravel.tga
  }
  layer2
  {
    map=control_1.tga
  }
}

shader_sky~vf_sky
{
  compression=0
  fog=0
  sky=1
  cull=none
  layer0
  {
    map=sky.tga
    texenv=replace
    depthwrite=0
  }
}
