when I place a lamp in my game, it lights up all the objects in the game, not just the ones near it. The lamp is just a regular, colored lamp, and all of the objects are UV mapped, with the light option turned on. Why is this happening?
If you want to light only the objects or places you want, you have to make a spot of it. Because when you add a lamp, it has the option as lamp, like a real one which shines all over the pace. SO chance the setting to spot, and you will have only the place where you want it.
On the lamp you will see an option called Quad1 turn that all the way up and then turn down the lamps distence. This will help.
Lagan I’m pretty sure that only effects quad lamps…
Quad1, (and Quad2,) work on all lamps. They control the “falloff factor” of the lamp’s light. It’s pretty hard to get distant objects to recieve zero light though, they always seem to get a little light from the lamp :-?
I seem to remember that doesn’t work in the game engine.
It does, I’ve tested it myself. Setting Quad1 to 1, and Quad2 to 0 gives the sharpest falloff. (Or is it the other way around…?) Test it and see.
Lagan I’m pretty sure that only effects quad lamps…
I seem to remember that doesn’t work in the game engine.
Of course it works in the game engine!
HOLY SHIT, it indeed works! I never knew that the distance of lamps is taken into account in the realtime engine. It seems that Quad1 and Quad2 are reversed in the game engine (a bug)…
THANK YOU!
interesting… i never knew this either
quad 1 seems to control the fading distance…
but what does quad 2 do? i’ve done a bit of testing and i cant figure it out.