Hello everyone,
I was just wondering if the "Texel(Image texture, vec2 coords)" method did bilinear interpolation of the color when "coords" landed between 4 pixels or if it just chose the color of the closest neighbour ?
Thanks for answering
Love2d shader
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Love2d shader
It depends on the filter set for the texture you pass to the function. You can set it individually for each texture with Texture:setFilter or set a default for newly created textures with love.graphics.setDefaultFilter.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 4 guests