4 textures interpolation on 2 texture units?


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?


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.