Sign in to follow this  

Fading Textures

This topic is 4250 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

I can't figure this out, Google doesn't give me anything either. I need to fade a texture using it's diffuse color that I change. I have this fade in transition that uses a texture with the effect and I change the alpha values to get the effect of fade ins and fadee outs. But I can't get the texture to fade with the qaud. What type of arguments do I need to pass the device for texture stages and/or alpha blend (if need be different)?

Share this post


Link to post
Share on other sites
Perhaps use second texture which has all pixels set to your target color, then blend the original texture with your color texture?

Share this post


Link to post
Share on other sites
Does setting ColorOperation to mod between Texture and Diffuse also work for Point Sprites? I have a particle engine set up this way and the alpha component of my texture is working beautifully, but the alpha component of my diffuse color for the vertex is being ignored (the RGB of the diffuse is working fine, though).

Do you have to do something extra to get this to work for Point Sprites?

Share this post


Link to post
Share on other sites

This topic is 4250 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