Page 1 of 1
Texture turns blue at far distances [Solved]
Posted: Mon Apr 14, 2014 2:17 pm
by MileHighGuy
When my model gets far away it turns more and more blue. I think it has to do with the downsizing of the texture. The UVed part of the texture is correct, but the background is just plain blue. It looks fine up close. I tried -detailbias 7 in the option but nothing changed. Does anyone know how to fix this?
Here is the texture (UV stamped):
http://i.imgur.com/YMfbkj6.png
It happens with both my bow and arrow.
Re: Texture turns blue at far distances
Posted: Mon Apr 14, 2014 2:33 pm
by Marth8880
What's it look like in-game? Screenshots?
Re: Texture turns blue at far distances
Posted: Mon Apr 14, 2014 2:39 pm
by MileHighGuy
Just.. completely blue.. It starts at the seams then goes full blue the farther away you get. I don't have time to upload screens now, but in a few hours I will.
Re: Texture turns blue at far distances
Posted: Mon Apr 14, 2014 2:42 pm
by JimmyAngler
Hm, do you have a low-rez for your model?
Re: Texture turns blue at far distances
Posted: Mon Apr 14, 2014 2:43 pm
by MileHighGuy
No, theyre just a weapon model and an ordnance.
Re: Texture turns blue at far distances
Posted: Mon Apr 14, 2014 2:45 pm
by Marth8880
Code: Select all
FogColor(85,108,142,128);
PC()
{
NearSceneRange(30.0, 160.0, 40.0, 200.0);
FarSceneRange(5000.0, 5000.0);
FarSceneRange(5000.0);
FogRange(-100.0, 600.0);
}
Is something along the lines of that in your sky file? If so, try removing it or commenting it out.
Re: Texture turns blue at far distances
Posted: Mon Apr 14, 2014 5:41 pm
by MileHighGuy
If that were the case, wouldn't all objects turn blue in the distance? This problem is specific to the 2 meshes that I created.
I edited the sky file like you said, nothing changed. Here are screenshots to further illustrate the problem. It is a little hard to see, but it is there.
http://imgur.com/a/b5R0q
Re: Texture turns blue at far distances
Posted: Tue Apr 15, 2014 12:43 am
by ANDEWEGET
Either make the background a color closer to what you have in your UV islands or add a border around the UV islands with that color.
If you only paint the UV islands mip maps might make the colors from outside the UV island bleed in.
Re: Texture turns blue at far distances
Posted: Tue Apr 15, 2014 10:51 am
by MileHighGuy
That did the trick, thanks ande.