[.net] Textures have blue / green tint
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.getWidth(), textures.getHeight(), 1, Usage.None, Format.Dxt1, Pool.Managed);
SurfaceLoader.FromSurface(saveTexture.GetSurfaceLevel(0), textures.getTexture().GetSurfaceLevel(0), Filter.None, 0);
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement