Skip to main content

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

Hello Foxy!
Is there a way to create variable blur intensity with a mask?

Like, having parts where blur isn't strong or even is disabled, and seamless transition to other parts of the screen where blur is strong.
To reproduce this visual from Octopath Traveler battles : >> Here <<
Center of the screen has no blur and then it's progressive depending on distance like a depth of field blur.

(+1)

Hi shamanforest, the effect in question is called Depth of Field, it is a little more complex than normal blur. This library does not offer this feature, but Post-Processing FX has exactly this effect:

Hi Foxy, thanks for your answer! Can I use depth of field in a 2D game? 

(+1)

Yes :)

You just need to send a depth texture to the effect