- Home /
Removing blue line around object's edges
I am working on a panorama viewer using a cube, but there is a weird line showing up on the edges of the plane. It is not there in the texture file, and i cant figure out whats causing it. It is very distracting since you can see the walls of the panorama cube. How do I remove it? I am using an unlit texture shader
screenshot.png
(190.7 kB)
Comment
Answer by Bunny83 · Feb 23, 2018 at 07:38 PM
What's your texture's wrapmode? If it's "wrap" / "Repeat" it means texture coordinates beyond the 0 - 1 range are wrapped. So 1.001 would be 0.001. So you essentially see a part from the other end of the texture. You should set your wrapmode to "clamp" in which case the coordinates are clamped. So a value of 1.001 would be just 1.0