problem with transparent textures on planes

Hi there,

Im trying to put some 2d planes with .png images with alpha on my scene to act as a background but some unwanted lines appear around the plane, where the texture is 100% transparent (image below).

Ive tryed a lot of shaders (built-in and wiki) and the lines keep appearing on my screen.

anyone knows a way to solve this issue?

thanks in advance.

384352--13255--$line2_143.jpg

Could be the mipmaps doing that, try turning on borders for the mipmaps, see if that helps? Or turning them off entirely (but don’t make a habit of that).

thanks oblivionfeet,

turning off the mipmaps reduced 85% of the problem.

but some smaller lines still apearing at some frames…
I’m using Transparent/Diffuse shader.

In that case you should be able to fix it completely by making the graphic a bit smaller, so there’s a larger transparent border around the edges of it… I think… :smile:

in the texture settings set from repeat to clamp this is it :slight_smile:

DrFromTheLab, that is it.
thanks a lot. :smile:

Gah! I always forget clamp! My bad! :slight_smile:

Is there any other way except doing clamp from repeat as i want to change offset of material via scripting on runtime to create parallaxing in my 2d endless running game