Search found 4 matches

by DrDaveDeath
Wed Jan 22, 2014 9:04 pm
Forum: Support and Development
Topic: Image Filter artefacts when zoomed
Replies: 19
Views: 9223

Re: Image Filter artefacts when zoomed

Use math.floor() for the image draw coordinates. You're drawing them at decimal positions. Also remember that you're going to have this problem if you scale to anything that's not a whole number. An alternative advanced method is to draw to a canvas at 100% and scale that. Also, a better way of cre...
by DrDaveDeath
Tue Jan 21, 2014 10:52 pm
Forum: Support and Development
Topic: Image Filter artefacts when zoomed
Replies: 19
Views: 9223

Re: Image Filter artefacts when zoomed

Use math.floor() for the image draw coordinates. You're drawing them at decimal positions. Also remember that you're going to have this problem if you scale to anything that's not a whole number. An alternative advanced method is to draw to a canvas at 100% and scale that. Also, a better way of cre...
by DrDaveDeath
Sat Jan 18, 2014 1:41 pm
Forum: Support and Development
Topic: Image Filter artefacts when zoomed
Replies: 19
Views: 9223

Re: Image Filter artefacts when zoomed

Many thanks for the replies guys. Really fast. What a great community.

I manually extruded my tiles for now and that fixed the issue. Will look into an app that sorts that out for me later :)

Thanks again!
by DrDaveDeath
Sat Jan 18, 2014 10:34 am
Forum: Support and Development
Topic: Image Filter artefacts when zoomed
Replies: 19
Views: 9223

Image Filter artefacts when zoomed

Hi there - I'm currently prototyping a game out, I have a bunch of tiles in a quad and I'm drawing them based on a grid. The problem I am having, after scaling upwards (using gamera, not sure if that's relevant or not), I am seeing artefacts when moving. I've taken some screenshots: https://love2d.o...