Texture transition

Started by
2 comments, last by Vanderry 12 years, 10 months ago
Hey people !

I'm looking for a way to smoothly transition from one texture to another, not like a gradient but rather like fading from one to the other over a time interval. I would also like to use the fixed pipeline. Should I use use blending, render one texture first and then render the other on top using some particular blend func? I haven't figured out how to use those with a fine precision value yet.

Thanks in advance !

- Dave
Advertisement
Blending yes, but not necessarily on the render target. Have a look at texture combiners.

Blending yes, but not necessarily on the render target. Have a look at texture combiners.


Interesting... Although when I try out the "Blend tex0 and tex1 based on a blending factor you supply", all my polygons turn out mono-colored and the lighting is gone. Did I mess up or miss some render state change?
Guess I should use glMultiTexCoord2f() instead. Now to fix that darn lighting... :P

This topic is closed to new replies.

Advertisement