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 »

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 120 times
User avatar
Sasha264
Party member
Posts: 131
Joined: Mon Sep 08, 2014 7:57 am

Re: Drawing Pixels White Outlines

Post 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 =)
Post Reply

Who is online

Users browsing this forum: Google [Bot], skagonTheIdiot and 79 guests