Sign in to follow this  
REspawn

[.net] Textures have blue / green tint

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

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