Applying multiple shaders to a effect?

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.
User avatar
s-ol
Party member
Posts: 1077
Joined: Mon Sep 15, 2014 7:41 pm
Location: Cologne, Germany
Contact:

Re: Applying multiple shaders to a effect?

Post by s-ol »

bobbyjones wrote:How will it be slower? Lol he isn't using canvases yet. Once he adds it in his performance should increase lol. That's the point of canvases.
What? He wants to draw something to the canvas every frame, then draw the canvas again. That is one more draw call and quite obviously more expensive.

Canvas' can improve performance if you draw expensive things on them and don't update them often. But they are not a magic solution to speed up your program.

s-ol.nu /blog  -  p.s-ol.be /st8.lua  -  g.s-ol.be /gtglg /curcur

Code: Select all

print( type(love) )
if false then
  baby:hurt(me)
end
bobbyjones
Party member
Posts: 730
Joined: Sat Apr 26, 2014 7:46 pm

Re: Applying multiple shaders to a effect?

Post by bobbyjones »

Sorry I got confused with spritebatches and canvases.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 5 guests