On Jul 8, 11:02=A0am, Spacen Jasset <jmspash...@[EMAIL PROTECTED]
> wrote:
> Here are some screen shots that show the lighting way out on linux:
>
I think the problem is texture, not lighting. One has texture, one
doesn't.
> Before geometry output:
>
> m.texture.bind();
> glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
> glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
> glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE);
>
This might be the problem. Some drivers don't like to change the min/
max
filters after you set the texture image. To change the filters they
would have
to recalculate all the mipmaps, etc., and this isn't always easy to
do.
Technically they could do it, but in practice some don't.


|