by Andy V <nobody@[EMAIL PROTECTED]
>
Jun 11, 2008 at 06:51 PM
Makhno wrote:
> Hello,
> Now that hardware has got fast enough to light a terrain in real time,
> I'm giving it a go.
> How do I configure an OpenGL light to be directional, but without any
> position? For example, suppose I wanted to simulate a distant sun. I
> don't want attenuation with distance and light 'beams' are all parallel
> to each other?
> GL_SPOT_DIRECTION seems to do something else.
>
> Thanks
Set the position with a W value of 0.0.
--
Andy V