Search found 525 matches

by MrFariator
Sun Jan 22, 2017 1:22 am
Forum: Support and Development
Topic: Canvas breaking shaders
Replies: 5
Views: 5170

Re: Canvas breaking shaders

Try the following: love.graphics.setCanvas() love.graphics.setShader() love.graphics.draw(canvas, 0, 0, 0, scale, scale) A canvas, like any other love2d drawable object, will be affected by the current active shader when you call the love.graphics.draw() on it. The overlay:draw() portion in your cod...
by MrFariator
Sat Jan 21, 2017 11:35 pm
Forum: Support and Development
Topic: Canvas breaking shaders
Replies: 5
Views: 5170

Re: Canvas breaking shaders

My assumption is that you set the shader in a way that it affects everything that's drawn on the canvas (can't say without seeing how the shader is set in the second piece of code). Perhaps when you draw the canvas with love.graphics.draw(), you still have the shader active? If so, just put love.gra...
by MrFariator
Wed Oct 05, 2016 2:05 pm
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 420629

Re: "Questions that don't deserve their own thread" thread

Do you have vsync enabled in your conf.lua by any chance? I'd update video drivers just to be sure, too. Had some odd behavior on my main desktop when I was running old/outdated drivers, but only while in windowed mode (Windows 7). I am using an old 2008 Macbook (Intel Core 2 Duo, NVIDIA GeForce 940...
by MrFariator
Wed Oct 05, 2016 12:57 pm
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 420629

Re: "Questions that don't deserve their own thread" thread

ingodet wrote:Greetings!Is this inherit to Löve or am I using it wrong?
It should work just fine, as you can test with lovefiddle here.
Did you modify any of the callbacks that might affect the refresh rate (either in terms for drawing or logic updates)?
by MrFariator
Wed Oct 05, 2016 12:00 pm
Forum: General
Topic: Share your fiddles!
Replies: 26
Views: 12077

Re: Share your fiddles!

Interesting, it's basically something similar to C++'s vector class? I could very well have use for something like this.