PDA

View Full Version : 4 textures interpolation on 2 texture units?



medva
01-16-2004, 04:06 AM
Hello,

please does anybody know, how to interpolate 4 (or even more) textures according 4 weights on 2 texture units?

It can be multi pass-rendering - time is no problem, cos I need image. How to do such multi pass interpolation on 2 TUs?

I wasn't able to mix more than 2 textures on 2 TUs using ARB multitexturing. Have you any idea?

THANK YOU
Jirka

dorbie
01-16-2004, 05:19 PM
Do two passes. Use a GL_ONE, GL_ONE blendfunc and enable blending, and use the underlying polygon color and a GL_MODULATE function or secondary colors to reduce the contributions from each pass.