Author Message

Chris

nl
Posts: 48

Location: Netherlands
Occupation:
Age: 34
V$:
#472   2010-04-21 16:27          
Yeah, the thing with racer is is that you have to script the materials.
Theres this file in the car folder called car.shd open that with notepad or w/e and you will find the codes.

You will also need to make a window texture for the black areas or w/e with a alpha map as an extra channel.
My window shader looks like this;

shader_windows
{
cull=none
layer0
{
map=windows.tga
blendfunc=blend
}
layer1
{
map=$trackenvmap
texgen_s=reflection_map
texgen_t=reflection_map
texgen_r=reflection_map
blendfunc=add
}
layer2
{
map=windows.tga
blendfunc=one one_minus_src_alpha
}
}

Now , this is a simple shader for the windows, there's a way to make cg shaders but I'm still trying to figure that out lol.

www.racer.nl has alot of info as well at the documentary section, can't be bothered to tell all the ins and outs :awesome: