PDA

View Full Version : blending 2 textures based on alpha



ScottManDeath
02-14-2002, 10:54 AM
Hi

I just want to do following:
1. load 2 textures
2. bind each to a texture unit
3. make a linear interpolation between each textures color by primary colors alpha

I did it already using register combiners, but I think rc are a little bit overkill for that quite simple task. And RC are not ARB :-(

Bye
ScottManDeath

teknicida
02-14-2002, 11:07 PM
I sugest you look at ARB_texture_env_combine.
http://www.opengl.org/discussion_boards/ubb/Forum2/HTML/006880.html

//Teknicida

ScottManDeath
02-15-2002, 04:14 AM
Hi

THX, its all I wanted to know :-D

Bye
ScottManDeath