Sign in to follow this  

[.net] Textures have blue / green tint

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

Hi, I have been using the below code to compress my textures and when i do so they get this tint of color applied to them. For example when i compress a texture it gets this kinda faded blue tint, is there anyway to stop this? some sort of texture filter or setting in the 3D Device im using? Thanks for any help saveTexture = new Texture(device, textures[i].getWidth(), textures[i].getHeight(), 1, Usage.None, Format.Dxt1, Pool.Managed); SurfaceLoader.FromSurface(saveTexture.GetSurfaceLevel(0), textures[i].getTexture().GetSurfaceLevel(0), Filter.None, 0);

Share this post


Link to post
Share on other sites
Instead of loading as Format.DXT1, try loading as Format.Unknown. It might be the DXT1 texture compression that is giving your textures the tint.

Share this post


Link to post
Share on other sites

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