Make font blurry


#1

Hi,

I’d like to make a bit of gui text blurry, so that the user cannot read it, but can still make out that it is text.

I assume the solution involves somehow combining the built-in font.fp and code similar to this from deffx: https://github.com/subsoap/deffx/blob/d7bde47fa1164c7ab432b12f6a11fb119f621d81/deffx/materials/rendertarget/blur_simple.fp

However, I don’t know enough about shaders to pull it off.

Any assistance would be appreciated, thanks!


#2

You’ll want to use a render target because there is not enough padding in the font glyphs for the blur to spread how you want most likely. I took a look at DefFX and that example should be working as is for using a render target make sure you use the right render script in the game.project file.
0%20-%20DefFX