Stretching Images
Stretching Images
When I'm stretching images with LÖVE 0.6.0, the image stretches with fades from one color to another, not like the colors grows by it selves. Is there a way to stop this from happening, because some images looks really odd (they are supposed to be sharp looking, not blurry...)
Re: Stretching Images
thats caused by the filtering done in ogl ... i think theres a way to turn it off in 6 but not sure
- TechnoCat
- Inner party member
- Posts: 1612
- Joined: Thu Jul 30, 2009 12:31 am
- Location: Milwaukee, WI
- Contact:
Re: Stretching Images
There is nearest neighbor filtering in 0.6.0
http://love2d.org/potato/Image_setFilter_1.html
http://love2d.org/potato/Image_setFilter_1.html
- Attachments
-
- filtering.love
- LOVE 0.6.0 Oct 12, 2009
- (5.45 KiB) Downloaded 84 times
Re: Stretching Images
Thank you!
It really helped, looks much better now. I'm using it for my Gui I'm making, called "Guiddy".
The button would look odd if you couldn't see the sharp edge from white to grey, so here's a picture of what it looks like now
It really helped, looks much better now. I'm using it for my Gui I'm making, called "Guiddy".
The button would look odd if you couldn't see the sharp edge from white to grey, so here's a picture of what it looks like now
Who is online
Users browsing this forum: Google [Bot] and 2 guests