Audi RS6 - CG Shaders problem

Hello, I tried to make CG Shaders for Audi RS6 Saloon, and when I turn on the game car body and rims are all black, but the interior is ok. But if I familiarize view, everything seems to be OK. What am I did wrong?

 
This is part of your shader:

shader_body~vf_reflect
{
cull=none
compression=0
reflect=0.6
shininess=0
specular=0.00 0.00 0.00 1.00
fresnel
{
bias=0.05
power=2.0
scale=1.0
}
layer0
{
map=fresnel.tga <---- This is the mistake, here should be name of texture with body color (i think body.tga)
}
layer1
{
map=$trackenvmap
}
}
 
Sat Feb 04 22:58:06 (WARN): [racer/1528] No shader found for material 'lights_glass' in 'data/cars/audi_rs6_c6/rs6.dof' (default 'lights_glass.tga')
Sat Feb 04 22:58:06 (WARN): [racer/1528] No shader found for material 'nodamage' in 'data/cars/audi_rs6_c6/rs6.dof' (default 'nodamage.tga')
Sat Feb 04 22:58:06 (WARN): [racer/1528] No shader found for material 'metallic' in 'data/cars/audi_rs6_c6/rs6.dof' (default 'metallic.tga')
Sat Feb 04 22:58:06 (WARN): [racer/1528] No shader found for material 'mirror' in 'data/cars/audi_rs6_c6/rs6.dof' (default 'mirror.tga')
Sat Feb 04 22:58:06 (WARN): [racer/1528] No shader found for material 'windows' in 'data/cars/audi_rs6_c6/rs6.dof' (default '<no texture>')
Sat Feb 04 22:58:06 (WARN): [racer/1528] No shader found for material 'windows2' in 'data/cars/audi_rs6_c6/rs6.dof' (default 'windows2.tga')
Sat Feb 04 22:58:06 (WARN): [racer/1528] No shader found for material 'park' in 'data/cars/audi_rs6_c6/rs6.dof' (default 'park.tga')
Sat Feb 04 22:58:06 (WARN): [racer/1528] No shader found for material 'windows_front' in 'data/cars/audi_rs6_c6/rs6.dof' (default 'windows_front.tga')
Sat Feb 04 22:58:06 (WARN): [racer/1528] No shader found for material 'plate' in 'data/cars/audi_rs6_c6/rs6.dof' (default 'plate.tga')

But I made shaders for it...
 
It seems some of the materials aren't readable for Racer because either the "shader_" part in front of them is missing, or because of the missing semicolon for one of the comments (tire&wheel section divider). Also, there are some shaders that won't work in the current state in general, since they are in non_cg format, only with an added "~vf_..." header. Those are the ones with fresnel/gradient textures and 3 layers for a simple dyn_standard_reflect code.
So, long story short - try cleaning up the file, reduce the number of materials dramatically to make working with it easier... that should help identifying problems as well :)
 
Guys, I know what is the problem :x When I was saving car.shd i get "Unicode", not ANSI, and that's why my car was black :oops: Now it looks pretty nice :)
 

Latest News

Online or Offline racing?

  • 100% online racing

    Votes: 87 7.4%
  • 75% online 25% offline

    Votes: 123 10.5%
  • 50% online 50% offline

    Votes: 170 14.5%
  • 25% online 75% offline

    Votes: 329 28.0%
  • 100% offline racing

    Votes: 461 39.3%
  • Something else, explain in comment

    Votes: 4 0.3%
Back
Top