On May 20, 9:40 pm, Sourcerer <enlorkMA...@[EMAIL PROTECTED]
> wrote:
>
> GLfloat lightSourcePosition[] = {10.0, 10.0, 10.0, 0.0};
> GLfloat lightSourceDirection[] = {0.0, 0.0, 0.0, 0.0};
>
> glLightfv(GL_LIGHT0, GL_POSITION, lightSourcePosition);
> glLightfv(GL_LIGHT0, GL_SPOT_DIRECTION, lightSourceDirection);
>
My copy of the manual says: "The position is transformed by the
modelview matrix when glLight is called"
Maybe that's the problem.
--
<\___/>
/ O O \
\_____/ FTB. Remove my socks for email address.


|