Thanks a lot tindust!
Now the terrain reacts to light, BUT, the whole terrain reacts to light, I mean, it doesn't matter the range, as long as the light intersects the terrain it will light up completely to the values specified by that light, which also looks strange.
Picture this scenario :
Starless and Moonless pitch black night, in front of an old castle which is lit only by torches. It would look strange that the grass is all lit and not just the areas where the torchs are.
to ilustrate the idea I just uploaded a picture :
http://www.hpnet.com.mx/3dgs/light.jpgI put the torch too close to the ground to let you see what I mean. I let the terrain whit a 10,10,10 light to make it look dark.
See the wall well lit by the torch? it looks ok, but then when the wall meets the ground it looks strange.
I will appreciate any help on this subject