I need to combine 8 3D textures and could use your help.
I’ve tried to create a new texture by combining them using software but my program requires around 250 different combinations per source texture so I run out of memory (my program stopped after 260 Mb allocated memory).
So for my program to work I need to combine textures at runtime, I found out that you can combine textures with glTexEnv using GL_COMBINE_* and GL_INTERPOLATE, however I have no idea how to interpolate more than two textures using this method.
A third option I’ve considered is using GLSL, but since not all computers have 8 or more multitextures I prefer not to use GLSL to combine my textures.
Does anyone have an idea how to combine / interpolate 8 textures at runtime?