Hello.
I’m drawing polys using ARB_multitexture
and EXT_env_combine
thanks to the env_combine i can do (2 pass)
t0 * t1
t0 + t1
t0 + t1 -0.5 etc…
Now what i’d like to do is modulate the result
by glColor (still using 2 pass!)
=> t0 * t1 * color
=> (t0 + t1) * color (or t0color + t1color)
=> (t0 + t1 -0.5) *color
(well actually the first one is working)
or i can only modulate the first texture unit (t0)
by glcolor
i suppose this is a env_combine limitation, right?
what extension should i look at?
secondary color?
or the only solution is 3 passes?
thanks for your help