- Home /
Distortion of Texture from some Angles
Hello I am having an issue where my mesh texture has these strange lines across it when moving the camera at certain angles in game.
The texture seems to look fine from some angles, but from others produces the lines of distortion.
This effect seems to only happen in-game. Does this mean my UV mapping is screwed up?
Do you have any other example images you could provide? It's rather hard to say for sure what the problem could be when we don't know what it should normally look like (and, from less of what appears to be a zoomed-in view). Additionally, what exactly are "some angles" in this case?
Are you using custom shaders or Unity's built-in ones? If it's a custom shader, what is it doing? Would you be able to provide any samples from it in case it may be the problem?
It could also be a case of Z-fighting if two meshes are too close to each other. Again, it's hard to know for sure without more information.
You are correct, it was Z-fighting. I resolved this by fiddling with the distance and FOV settings of the camera. Thanks very much!