T
Tiberius
-
Tiberius
I've been trying to get the projected car light shaders working for track objects, for some working floodlights on a nighttime version of a track I'm doing.
What I've been trying to do is assign the actual shader to a cube (used as a dummy really), have tried getting the shader to input a fall-off factor, location and normal (this is what Racer would input for car lights?), just to see if I can get anything resembling a projected light working. I'm having no luck at all actually getting it to work, from what I can understand from the shader it's expecting diffuse map on layer0 and projected texture on layer 1 (both the same thing, surely?), I just want to be able to get a light to emit from the centre of a dummy object and be able to alter the direction of it (just point downwards probably, as most lights would)
Has anyone had any luck at this who can give me a hint?
What I've been trying to do is assign the actual shader to a cube (used as a dummy really), have tried getting the shader to input a fall-off factor, location and normal (this is what Racer would input for car lights?), just to see if I can get anything resembling a projected light working. I'm having no luck at all actually getting it to work, from what I can understand from the shader it's expecting diffuse map on layer0 and projected texture on layer 1 (both the same thing, surely?), I just want to be able to get a light to emit from the centre of a dummy object and be able to alter the direction of it (just point downwards probably, as most lights would)
Has anyone had any luck at this who can give me a hint?