markfcsl
07-29-2002, 01:13 AM
I'm trying to achieve the following env.map combination using multitexturing:
basetex + envmap * color
where color is a constant RGBA color.
The trouble I'm having is modulating the envmap texture with the color.
Are there any texture environments in OpenGL that allow an add followed by a modulate? The closest I've seen is GL_INTERPOLATE_ARB (in the texture_env_combine ARB extension) but it doesn't quite do the job.
Thanks,
Mark
basetex + envmap * color
where color is a constant RGBA color.
The trouble I'm having is modulating the envmap texture with the color.
Are there any texture environments in OpenGL that allow an add followed by a modulate? The closest I've seen is GL_INTERPOLATE_ARB (in the texture_env_combine ARB extension) but it doesn't quite do the job.
Thanks,
Mark