

;karoseria

shader_scania_detales
{
  layer0
  {
    map=gradient.tga
    texgen_s=sphere_map
    texgen_t=sphere_map
    emission=1. 1. 1. 1.
  }
 layer1
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    emission=1. 1. 1. 1.
    blendfunc=filter
  }
 layer2
  {
    map=scania_detales.tga

    blendfunc=dst_alpha src_alpha
    emission=0 0 0 0
    mipmap=0
  }
}


shader_remapelegybody128
{
  layer0
  {
    map=gradient.tga
    texgen_s=sphere_map
    texgen_t=sphere_map
    emission=1. 1. 1. 1.
  }
 layer1
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    emission=1. 1. 1. 1.
    blendfunc=filter
  }
 layer2
  {
    map=remapelegybody128.tga

    blendfunc=dst_alpha src_alpha
    emission=0 0 0 0
    mipmap=0
  }
}

;zbiorniki

shader_emzone_aliumas
{
  layer0
  {
    map=gradient.tga
    texgen_s=sphere_map
    texgen_t=sphere_map
    emission=1. 1. 1. 1.
  }
 layer1
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    emission=1. 1. 1. 1.
    blendfunc=filter
  }
 layer2
  {
    map=emzone_aliumas.tga

    blendfunc=dst_alpha src_alpha
    emission=0 0 0 0
    mipmap=0
  }
}

shader_emzone_detales
{
  layer0
    {
      map=$trackenvmap
      texgen_s=reflection_map
      texgen_t=reflection_map
      texgen_r=reflection_map

      shininess=32
      specular=1 1 1 1
    }
  layer1
    {
      map=emzone_detales.tga
      blendfunc=one src_alpha
    }
}


shader_emzone_padanga 
{
  cull=back
  layer0
  {
    map=emzone_padanga.tga
    blendfunc=blend
  }
  layer1
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=src_color one_minus_src_color
  }
}


;lampy

shader_detail_glass_clear
{
layer0
{
map=$trackenvmap
texgen_s=reflection_map
texgen_t=reflection_map
texgen_r=reflection_map
diffuse=0.5 0.5 0.5 
emission=1 1 1
}
layer1
{
blendfunc=src_alpha one_minus_src_alpha
shininess=50
specular=0.4 0.4 0.4
ambient=0.3 0.3 0.3
diffuse=0.5 0.5 0.5 
emission=0.5 0.5 0.5 1
alphafunc=greater 0
map=lights.tga
}
}


;światła mijania

shader_lightson
{
layer0
{
map=$trackenvmap
texgen_s=reflection_map
texgen_t=reflection_map
texgen_r=reflection_map
diffuse=0.5 0.5 0.5 
emission=1 1 1
}
layer1
{
blendfunc=src_alpha one_minus_src_alpha
shininess=60
specular=0.4 0.4 0.4
ambient=0.3 0.3 0.3
diffuse=0.5 0.5 0.5 
emission=1.5 1.5 1.5 1
alphafunc=greater 0
map=lightson.tga
}
}
 
;światła stop

shader_brakelig
{
layer0
{
map=$trackenvmap
texgen_s=reflection_map
texgen_t=reflection_map
texgen_r=reflection_map
diffuse=0.5 0.5 0.5 
emission=1 1 1
}
layer1
{
blendfunc=src_alpha one_minus_src_alpha
shininess=60
specular=0.4 0.4 0.4
ambient=0.3 0.3 0.3
diffuse=0.5 0.5 0.5 
emission=1.5 1.5 1.5 1
alphafunc=greater 0
map=brakelig.tga
}
}

 ;światła wsteczne

shader_wsteczny
{
layer0
{
map=$trackenvmap
texgen_s=reflection_map
texgen_t=reflection_map
texgen_r=reflection_map
diffuse=0.5 0.5 0.5 
emission=1 1 1
}
layer1
{
blendfunc=src_alpha one_minus_src_alpha
shininess=60
specular=0.4 0.4 0.4
ambient=0.3 0.3 0.3
diffuse=0.5 0.5 0.5 
emission=1.5 1.5 1.5 1
alphafunc=greater 0
map=wsteczny.tga
}
}



shader_extra_stuff
{
	layer0 {
		specular=0 0 0 0
		shininess=128
		map=extra_stuff.tga
	}
}

;interior

shader_scania_salonas3
{
  cull=none
  layer0
  {
 
    map=scania_salonas3.tga
      
  }
}

;interior

shader_scania_salonas2
{
  cull=none
  layer0
  {
 
    map=scania_salonas2.tga
      
  }
}

;interior

shader_scania_salonas4
{
  cull=none
  layer0
  {
 
    map=scania_salonas4.tga
      
  }
}

;interior

shader_scania_salonas1
{
  cull=none
  layer0
  {
 
    map=scania_salonas1.tga
      
  }
}

;topline

shader_topline_logo
{
  layer0
    {
      map=$trackenvmap
      texgen_s=reflection_map
      texgen_t=reflection_map
      texgen_r=reflection_map

      shininess=32
      specular=1 1 1 1
    }
  layer1
    {
    map=topline_logo.tga
    blendfunc=one src_alpha
    }
}

;felga
shader_emzone_padanga

{
  layer0
    {
      map=$trackenvmap
      texgen_s=reflection_map
      texgen_t=reflection_map
      texgen_r=reflection_map

      shininess=32
      specular=1 1 1 1
    }
  layer1
    {
    map=emzone_padanga.tga
    blendfunc=one src_alpha
    }
}

;opona
shader_emzone_padanga
{
	layer0 {
		specular=0 0 0 0
		shininess=128
		map=emzone_padanga.tga
	}
}

;podwozie

shader_undercarriage
{
  layer0
  {
    map=gradient.tga
    texgen_s=sphere_map
    texgen_t=sphere_map
    emission=1. 1. 1. 1.
  }
 layer1
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    emission=1. 1. 1. 1.
    blendfunc=filter
  }
 layer2
  {
    map=undercarriage.tga
    blendfunc=dst_alpha src_alpha
    emission=.3. .3. .3. .3.
    mipmap=0
  }
}


shader_mirror

{
  layer0
    {
       map=$mirror
       texscale_s=1
       texscale_r=1
       texscale_t=1
       emission=0.3 0.3 0.3 1
    }
}

 


;naklejka

shader_volvolos
{
  cull=back
  layer0
  {
    map=volvolos.tga
    blendfunc=blend
  }
  layer1
  {
    map=$trackenvmap
    texgen_s=reflection_map
    texgen_t=reflection_map
    texgen_r=reflection_map
    blendfunc=src_color one_minus_src_color
  }
}



;tarcza hamulcowa

shader_brakedisc
{
  ; Brake disc
  layer0
  {
    map=brakedisc.tga
    emission=0 0 0 1
    shininess=32
    specular=1 1 1 1
  }
  ; Brakedisc heat shader
  vertex_shader
  {
    ;file=cg/blob.cg
  }
  fragment_shader
  {
    file=cg/disc_heat.cg
  }
}


;zacisk

shader_thread_caliper_mag
{
  layer0
  {
    map=thread_caliper_mag.tga
  }
}

;antena cb sirio

shader_ant
{
  layer0
  {
    map=3.tga
  }
}

;radio cb

shader_cb
{
  layer0
    {
      map=2.tga
      emission=0 0 0 1
      shininess=0
      specular=0 0 0 1
    }
}


;rejestracja

shader_rej
{
	layer0
	{
		map=rej.tga
	}
}
shader_ramka
{
	layer0
	{
		map=ramka.tga
	}
}
