Image scaling filters?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
Mystical
Prole
Posts: 7
Joined: Sun Mar 15, 2015 4:39 pm

Image scaling filters?

Post by Mystical »

I've been messing around with a raycasting library and I've been bothered about how filtering is handled.

Using 256x256 and 256x512 resolution textures and sprites doesn't really do much for up-close views of these resources. Nearest neighbour is just plain unfancy and linear filtering is just plain ugly. Aren't there any GLSL scaling filters that mimic 2xSal, HQx4 or 4xBRZ?
User avatar
s-ol
Party member
Posts: 1077
Joined: Mon Sep 15, 2014 7:41 pm
Location: Cologne, Germany
Contact:

Re: Image scaling filters?

Post by s-ol »

Maybe write your own frag shader?

s-ol.nu /blog  -  p.s-ol.be /st8.lua  -  g.s-ol.be /gtglg /curcur

Code: Select all

print( type(love) )
if false then
  baby:hurt(me)
end
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 4 guests