Question by
AndreiMarian · Jan 02, 2018 at 09:51 PM ·
textureshadersartifacts
Artifacts with trivial unlit shader
I have a png imported as Sprite(2D/UI), a new material with the default "trivial" unlit shader that's supposed to render the texture as is. I'm getting this: The figure on the right side is rendered with sprite default material and shader.
Texture attributes: "alpha is transparency", "single", "tight", uncompressed, no mipmaps. If I make it "full rect" instead of "tight" the artifact fills the whole rect.
I thought maybe textures imported as sprites are not supposed to be custom shader rendered.
But then what renderer would you use for custom shaded sprites?
.
EDIT:
If I render a quad with unlit, it does the same and I suspect that the shader is the culprit.
Comment