|
|
> I was more interested in the traditional (pre-pixel-shaders) way of
> doing light mapping.
>
I remember hearing about something called 2X multiply, or Modulate2x
that multiplies the texture by 2. After a little searching for that, it
looks like this might be the way to do it in opengl:
glTexEnvi(GL_TEXTURE_ENV, GL_RGB_SCALE, 2.0)
I also saw GL_RGB_SCALE_ARB, so it might be part of an extension. Of
course, this has to be combined with multitexturing.
- Slime
Post a reply to this message
|
|