I am creating terrain from a gray-map file and I need to be able to zoom the light source towards and away from the landscape. I can zoom the light source but I am having trouble adding attenuation to the light source (ie the farther away the less intense the light). As soon as I add values to the attenuation parameters I lose all lighting and shading. Has anybody else had a problem like this and/or have any idea why it is happening. Thanks.
what values are you using?
check the equation
i believe its constant + linear*2 + QUADRATIC^2 or something
i wrote a little ±30kb glut app that i can send to u which might be of use
firstname.lastname@example.org for it (minus 1234)