Quads are leaking

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
Azhukar
Party member
Posts: 478
Joined: Fri Oct 26, 2012 11:54 am

Quads are leaking

Post by Azhukar »

In certain circumstances Quads leak surrounding color from their texture atlas, such as drawing at floating point coordinates or using FSAA.

This leaking shouldn't be patched by every love2d project separately but rather in love2d itself.

Also I'm ignorant of inner workings of love2d and would like to know whether this is doable without significant code changes.
User avatar
Boolsheet
Inner party member
Posts: 780
Joined: Wed Dec 29, 2010 4:57 am
Location: Switzerland

Re: Quads are leaking

Post by Boolsheet »

The "leaking" is intentional, that's how OpenGL works.

LÖVE would have to introduce a new drawable object that takes images and then pads them just like the lovers have to do now. That requires some new code, but not a huge amount. I guess the hardest problem is implementing the proper texture packing algorithm. ;)
Shallow indentations.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 4 guests