Search code examples
unreal-engine4

UE4 - How can I DOF-Blur the screen on pause?


That's what I'd like to know. I don't understand the unreal engine scripting at all..

I know how to enable the blur manually, but how do I enable it on pause?

I have a Widget Blueprint with RESUME and EXIT buttons.. And when I open the menu, the background should be blurry.. now the menu is openable by pressing Tab(because in the editor ESC quits testing mode...)

So how do I make it blur on pause?


Solution

  • So I found the solution more than a week ago(I wasn't home) and I forgot to tell the answer to this question to all of you guys.

    I made a few pictures telling you exactly what to do :).

    First step

    Click the white arrow in the 'Make PostProcessSettings' to see all this options and check the 'Override Depth Of Field Method' checkbox. Second

    Now find the 'Method' option and change it to Gaussian. Third and the last step

    And you're done. You can see the results below this text.

    In-Game: Before

    In Menu[By pressing ESC(you need to connect it to a Key Event). Btw you can make that blue shade in the widget blueprint(it's an image component with a transparent color)]: After

    I hope I helped :). Feel free to ask if you got any problems.