Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Certain effects cause slowdowns

A topic by LesserGoldfish created Feb 24, 2021 Views: 164 Replies: 2
Viewing posts 1 to 2

shadow_blur, bloom and dof cause the game to slow down. Any advice on how to fix slowdowns caused by these effects?

Developer(+1)

Hey! Interesting, since all of those are just using a gaussian blur shader I am surprised that it is giving you issues. I am using an older Xor blur shader for it. I keep forgetting to convert it to a dual kawase blur shader. 

Here is a link to it. It's basically just a more efficient blurring technique. I will try to use it in the next update. There are definitely some efficiencies that need to be made to the system. :p 

I hope that helps! You should just be able to replace the blur shader code I have with that one and in oRender in the draw and draw gui events is where the blur is being set

Thanks!