VStanced/mods
Submit a mod
Mods Guides Forum Submit a mod Log in Register

Forum

Questions, builds, help and the odd argument. The mods and guides are out front.

Palus's Racer heave...
 
Notifications
Clear all

Palus's Racer heaven

18 Posts
8 Users
0 Reactions
12.4 K Views
Chris
(@chris_6)
Eminent Member
Joined: 17 years ago
Posts: 47
 

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:



   
ReplyQuote
Palus
(@palus_46)
Eminent Member
Joined: 17 years ago
Posts: 33
Topic starter  

thanks for helping guys 😉 It's working now 😉



   
ReplyQuote
Jaziba
(@jaziba_3)
Member Admin
Joined: 17 years ago
Posts: 1318
 

PICS! 😮 :awesome:



   
ReplyQuote
Page 2 / 2
Share: