Page 1 of 1

Drawing Pixels White Outlines

Posted: Sun Dec 24, 2017 7:15 pm
by Joelrodiel
I always see other love2d games that look super crisp and sharp with pixels, but then when I try I get these white lines. Im not scaling, but I am rotating so that might be the issue. I just wanted to see if there was some way to take them out, like a shader maybe? Heres an example.

Re: Drawing Pixels White Outlines

Posted: Sun Dec 24, 2017 10:45 pm
by Sasha264
Joelrodiel, hello!
I just moved than line

Code: Select all

love.graphics.setDefaultFilter('nearest','nearest')
before love.graphics.newImage(...) calls and nasty outlines disappeared =)