Ambient occlusion capping engine at 60fps?

did the new gdevelop update change how ambient occlusion works?

my monitor runs at 180 fps, and my game was running fine with ambient occlusion. but now, after the 5.6.286 update, it seems to cap my game to a weirdly steady 60fps. it runs normally when i disable it.

theres also a side effect where 2d sprites on the same layer appear to be bleached, but thats not a problem for my project, im nervous that may be a problem for other users though.

My testing shows there is no 60fps cap when the Ambient Occlusion is active in 5.6.286

But yeah, in the recent update they fixed that Ambient Occlusion was sampling depth information before anti aliasing applied, which it was causing jagged dark edges on the 3D objects.

here’s my situation better explained

youtube mirror if above video doesn’t work

I see. there might be a new bug that maybe sampling done in all layers instead of single layer. because it is very serious performance drop. Because, my test was on a simple project with just one extra 2D layer.

Interesting issue! Ambient occlusion can sometimes have a noticeable impact on performance, depending on the rendering settings and hardware.

Have you checked whether the 60 FPS limit is caused by the ambient occlusion effect itself or by another setting, such as VSync or the display frame-rate limit?

It would also be helpful to know your hardware specifications and whether the FPS drops only when ambient occlusion is enabled.

Hopefully you can find a solution without having to compromise too much on visual quality!

my main monitor is 180fps while my other monitors are capped at 60fps, but the game always opens on my main monitor.

the rendering’s max fps is set to 0 for unlimited (it was capped at 180 and i forgot to set it back to 0 when i was trying to bug fix in the video)

vsync isnt really something you can turn off in gdevelop from what i know

picture of my hardware specs

can a mod move this to bug reports, i didnt realize i created this with the wrong category

Thanks for reporting this, hopefully this fix should help and should be in a new release ~tomorrow.