Search found 7 matches

by Gan_HOPE326
Fri Apr 19, 2013 8:00 am
Forum: Support and Development
Topic: Shader not applied on small canvas
Replies: 19
Views: 9006

Re: Shader not applied on small canvas

remember not all computers have canvas support keep that in mind :| Well, I was hoping to use them to minimize the amount of calculations for some elements like procedurally-generated backgrounds to which shaders have been applied, to avoid re-drawing them for each frame. Is there another way to do...
by Gan_HOPE326
Tue Apr 16, 2013 5:25 pm
Forum: Support and Development
Topic: Shader not applied on small canvas
Replies: 19
Views: 9006

Re: Shader not applied on small canvas

remember not all computers have canvas support keep that in mind :| Well, I was hoping to use them to minimize the amount of calculations for some elements like procedurally-generated backgrounds to which shaders have been applied, to avoid re-drawing them for each frame. Is there another way to do...
by Gan_HOPE326
Mon Apr 15, 2013 8:05 am
Forum: Support and Development
Topic: Shader not applied on small canvas
Replies: 19
Views: 9006

Re: Shader not applied on small canvas

Ok, I'll try when I am back home. By the way, what is it supposed to happen if I set the PixelEffect BEFORE I draw the circle with love.graphics.circle? Should that produce a blurred circle? Because everytime I tried, it ended up with either nothing happening, or the canvas turning out completely bl...
by Gan_HOPE326
Sun Apr 14, 2013 1:25 pm
Forum: Support and Development
Topic: Shader not applied on small canvas
Replies: 19
Views: 9006

Re: Shader not applied on small canvas

Not sure if this is related to your problem, but you should not set a Canvas and draw the Canvas to itself. love.graphics.setCanvas(myCanvas) love.graphics.draw(myCanvas) -- Undefined behaviour! What exactly happens depends on the shader code and the OpenGL implementation. It may work for some with...
by Gan_HOPE326
Sun Apr 14, 2013 12:25 pm
Forum: Support and Development
Topic: Shader not applied on small canvas
Replies: 19
Views: 9006

Re: Shader not applied on small canvas

Just for your information: I'm running Love 0.8.0. I tried the .love file on both linux ubuntu and windows 7 and I get the problem on both platforms.
by Gan_HOPE326
Sun Apr 14, 2013 11:18 am
Forum: Support and Development
Topic: Shader not applied on small canvas
Replies: 19
Views: 9006

Re: Shader not applied on small canvas

Thanks for the suggestion, I'll try. Here's a working love file btw. It draws a single "bubble" Canvas exactly in the middle of the screen. I tried removing the instructions that send the first values to the shader (H_RES and V_RES in main.lua), but this does not solve the problem. If it w...
by Gan_HOPE326
Sun Apr 14, 2013 10:19 am
Forum: Support and Development
Topic: Shader not applied on small canvas
Replies: 19
Views: 9006

Shader not applied on small canvas

I'm trying to create a small canvas as a resource to be used further into the game. The canvas is square, the size is calculated on the basis of the total screen resolution (passed to the function as argument) with a border to make room for the 'blur aura', and the operations performed are: 1) draw ...