Some WebGL effects missing in runtime preview as of r190

Get help using Construct 2

Post » Sat Nov 29, 2014 4:21 pm

Hi all, :)

After updating Construct 2 to r190, several of my projects no longer show certain WebGL effects during runtime preview.
I haven't investigated this very much yet, but so far this seems to occur in situations where I'm using an empty layer with an effect to post-process the underlying scene.

It seems like, as of r190, a layer with an effect applied to it won't render unless there is also an object on that layer.

Is that maybe what's going on?

If so, it's not necessarily a problem. I'm just trying to figure out what I need to do to get everything back to the way it looked pre-r190.
So far, I'm just putting an invisible stub object on every post-process layer to make sure it renders.
B
27
S
18
G
8
Posts: 327
Reputation: 6,156

Post » Sat Nov 29, 2014 5:50 pm

Sounds a lot like it might have something to do with a performance improvement introduced in r187:

The renderer now experimentally skips rendering layers with zero instances on them, which could save GPU fill rate processing screen-sized transparent textures if they use a shader, blend mode or own texture.
B
22
S
6
G
10
Posts: 1,036
Reputation: 7,518

Post » Sun Nov 30, 2014 1:50 am

Awesome thanks @PixelRebirth. :)
I figured it might be some kind of optimization.
B
27
S
18
G
8
Posts: 327
Reputation: 6,156


Return to How do I....?

Who is online

Users browsing this forum: StefanSava, zenox98 and 62 guests