Drawing Pixels White Outlines

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
Joelrodiel
Prole
Posts: 27
Joined: Wed Apr 20, 2016 3:40 am

Drawing Pixels White Outlines

Post by Joelrodiel » Sun Dec 24, 2017 7:15 pm

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.
Attachments
demo.love
(10.2 KiB) Downloaded 52 times

User avatar
Sasha264
Citizen
Posts: 85
Joined: Mon Sep 08, 2014 7:57 am

Re: Drawing Pixels White Outlines

Post by Sasha264 » Sun Dec 24, 2017 10:45 pm

Joelrodiel, hello!
I just moved than line

Code: Select all

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

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 16 guests