Non-uniform scale without shaders

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
Refpeuk
Citizen
Posts: 91
Joined: Wed Dec 14, 2011 6:16 pm

Non-uniform scale without shaders

Post by Refpeuk »

I was wondering if there's any way to scale something (eg a canvas) in a non-uniform way without using shaders. I want to give the illusion of a turning page but I know lots of hardware doesn't support glsl.
It was the best of times, it was the worst of times . . .
User avatar
Refpeuk
Citizen
Posts: 91
Joined: Wed Dec 14, 2011 6:16 pm

Re: Non-uniform scale without shaders

Post by Refpeuk »

BUMP: What's the matter with my posts? This and my two before it are the only ones on this forum I've ever seen go without a single answer . . .
It was the best of times, it was the worst of times . . .
User avatar
Xgoff
Party member
Posts: 211
Joined: Fri Nov 19, 2010 4:20 am

Re: Non-uniform scale without shaders

Post by Xgoff »

Refpeuk wrote:I was wondering if there's any way to scale something (eg a canvas) in a non-uniform way without using shaders. I want to give the illusion of a turning page but I know lots of hardware doesn't support glsl.
love.graphics.draw has parameters for x and y scaling, and 0.8 adds support for shearing along x and y as well

if that isn't good enough, well, you're probably stuck with shaders then
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 54 guests