Sign in to follow this  

Texture transition

This topic is 2391 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
[quote name='haegarr' timestamp='1306432972' post='4816113']
Blending yes, but not necessarily on the render target. Have a look at [url="http://www.opengl.org/wiki/Texture_Combiners"]texture combiners[/url].
[/quote]

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

This topic is 2391 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this