WebGL Effects Boosting Performance

Discussion and feedback on Construct 2

Post » Thu Jul 25, 2013 5:08 pm

While playing around with optimization using a simple test bed with 600 sprites bouncing around the screen;

[viewing in Chrome on the desktop]

I noticed that with no effects, I'm getting about 44 fps.
Now after adding an effect like "Brightness" to the entire layer, I get a fairly solid 60 fps. Now Brightness is set to default 100 meaning it isn't changing anything visually.

Any idea what's happening here?
B
12
S
4
G
2
Posts: 59
Reputation: 3,779

Post » Thu Jul 25, 2013 5:11 pm

Weird! Could be a graphics driver issue. Obviously it's not logical that this is happening. Maybe it's forcing webGL when you're using effects, but reverting to canvas2D when it's not?

There's an easy way to find out, just have a text object set to display the 'renderer' system expression.
B
92
S
30
G
24
Posts: 3,191
Reputation: 32,584

Post » Thu Jul 25, 2013 5:23 pm

webGL in both cases.
B
12
S
4
G
2
Posts: 59
Reputation: 3,779


Return to Construct 2 General

Who is online

Users browsing this forum: ErekT, sinistar99 and 7 guests