Original Post
[This is the second time posting this, because while i was submitting some changes the thread was screwed up, so i had to repost. I say this because 6 people had saw the previous post, and maybe someone was answering when i destroyed it.]
Hi!
I have a little question.
Is it possible to interpolate between 2 textures with the equation:
Result = Tex0 * time + Tex1 * (1.0 - time);
using OpenGL (not manually).
I''m currently working on a GeForce 256 (2 texture units), so i tried to find something relevant in nVidia''s site. I found a presentation on Register Combiners for GeForce 256, and they mention that the above equation is possible with two texture units.
Their equation is:
Result = A * B + C * D;
My problem is, that i can''t figure out how to map A, B, C, D to Tex0, Tex1, time, 1.0 - time. More simple: How can i setup regcoms to get the result i want.
Note that this is my first time playing with register combiners, so if you can explain things a little, i''d be glad!
Thanks in advance.
HellRaiZer
PS. They mention an extension named GL_EXT_texenv_op, but it doesn''t appear in my extension list. Has it been merged to an other extension?