View Full Version : Modulate2x
05-31-2002, 12:53 AM
How can I use the modulate2x for my lightmap objects?
I can't find function to use modulate 2x? Is there an extension for doing this? How does it work?
05-31-2002, 04:18 PM
ARB_texture_env_combine (http://www.ati.com/developer/sdk/RadeonSDK/Html/Info/Extensions/ARB_texture_env_combine.html) has a scale factor as do many of the other fragment shading models. For your multipass fallback path, you can do a src*dst + dst*src blend.
06-04-2002, 12:01 AM
How do you do this?
I tried to use
glTexEnvf(GL_TEXTURE_ENV, RGB_SCALE_ARB, 2.0);
but it doesn't work. it doesn't compile...
06-04-2002, 12:55 AM
glTexEnvf(GL_TEXTURE_ENV, GL_RGB_SCALE_ARB, 2.0);
06-04-2002, 02:18 AM
thanks, it works well.
Powered by vBulletin® Version 4.2.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.