View Full Version : Modulate2x
05-30-2002, 11:53 PM
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, 03: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-03-2002, 11:01 PM
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-03-2002, 11:55 PM
glTexEnvf(GL_TEXTURE_ENV, GL_RGB_SCALE_ARB, 2.0);
06-04-2002, 01:18 AM
thanks, it works well.
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.