gabnicu
03-15-2002, 04:47 AM
I need to "add" 4 textures (on a GeForce 3), choosing the maximum of them. Textures are RGBA,
Adding the 4 textures is simple, using register combiners or the old glTexEnv, but choosing the maximum among the 4 textures, for each pixel is not simple. I've read the documents for texture combiners, and couldn't find an appropriate function.
Any help would be most appreciated.
Adding the 4 textures is simple, using register combiners or the old glTexEnv, but choosing the maximum among the 4 textures, for each pixel is not simple. I've read the documents for texture combiners, and couldn't find an appropriate function.
Any help would be most appreciated.