View Full Version : mulitexture crossfading

05-10-2002, 01:52 PM
I've been searching these boards over and over and have mostly just gotten confused. http://www.opengl.org/discussion_boards/ubb/frown.gif

I have two textures, and I want to use multitexturing to blend say, 20% of one texture on a polygon and then blend 80% of the other texture.

Can anyone help me out here?

Thanks very much http://www.opengl.org/discussion_boards/ubb/smile.gif

05-10-2002, 03:15 PM
GL_ARB_texture_env_combine (http://oss.sgi.com/projects/ogl-sample/registry/ARB/texture_env_combine.txt)

Use this one (from the spec):

INTERPOLATE_ARB Arg0 * (Arg2) + Arg1 * (1-Arg2)

06-01-2002, 09:51 PM
Ok, color me stupid ... I am green with respect to interpreting these extension specs and translating them to source code. Where can I get a good tutorial on interpreting these documents? Any help would be appreciated.