Page 1 of 1

Non-uniform scale without shaders

Posted: Sun May 06, 2012 9:48 pm
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.

Re: Non-uniform scale without shaders

Posted: Tue May 08, 2012 7:39 pm
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 . . .

Re: Non-uniform scale without shaders

Posted: Tue May 08, 2012 7:50 pm
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