• Advertisement
Sign in to follow this  

Texture transition

This topic is 2463 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement

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?

Share this post


Link to post
Share on other sites
Guess I should use glMultiTexCoord2f() instead. Now to fix that darn lighting... :P

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement