x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Post Process on UMG?

If you want your post process effect to take place on the UI / UMG widget, how do you do that? Is it even possible?

Product Version: Not Selected
Tags:
more ▼

asked Oct 26 '14 at 08:11 PM in Using UE4

avatar image

Awdogsgo2heaven
166 14 21 28

avatar image whfissler Jan 30 '15 at 11:31 PM

From the research I've done, 2D widgets cannot accept camera post processing. 3D widgets, however, do. I too, would like to see this in UMG. e.g. after clicking a button that will display a prompt of sorts, blur the UI behind the prompt, or Vignette around the viewport, etc...

avatar image Awdogsgo2heaven Jan 30 '15 at 11:43 PM

yeah, I want to do this full screen effect, that affects the UI too but its currently not possible it seems.

avatar image keyle Mar 31 '16 at 03:04 AM

Any updates on this?

avatar image vle07 Oct 03 '16 at 10:49 AM

I know it's possible to get around this by using a 3D widget attached to the camera, but the issue with this method is something in the game world can get in front of the 3D widget. I don't think the 3D widget would be able to resize itself automatically based on the screen resolution, either. Maybe a UE4 developer can comment on this? Or maybe we should ask for a feature request to add a post processing option to 2D widgets? I think it would just require moving the render order of the 2D widget to before the post processing gets applied.

avatar image Douglas Lassance Oct 03 '16 at 05:06 PM

For now I am doing the attach to camera trick. It behaves well once you make the UI's scale adapt to the FOV. Another idea is to render the 3D widgets to a render target and then use the created texture in a post-process material. As I did not test this, there might be a catch.

avatar image vle07 Oct 04 '16 at 05:52 AM

Are you able to control the amount of bloom you get on your widgets? The user interface material domain only has a color, opacity, and screen position output. There's no emissive color output, so I can't crank up the color output to create a bloom effect. Without it, my widgets look pretty dull. I suppose I could render the bloom out to a texture, but that would make my textures much larger than necessary, and then I wouldn't be able to directly use the image as a button (since it's too large).

avatar image Douglas Lassance Oct 04 '16 at 06:06 AM

There is a lot of rendering limitations in the current state of Unreal and I would have to run some proper testing to answer this properly. My intuition tells me that if you render your UI to a render target with alpha, you might be able to stick that UI texture on a 3D card in front of your camera. Since you'll need a material to do this, you can take this opportunity to plug something in the emissive channel. Like a color corrected version of your UI texture for instance.

avatar image vle07 Oct 04 '16 at 06:36 AM

Wouldn't the render target just clamp the color values between 0 and 1, though? There wouldn't be any way to store the emissive color information, so it wouldn't be possible to adjust the emissive levels of different images in the UI separately.

I think the only solution right now is just to not use widgets to render anything that requires post processing. Instead, it's better just to spawn 2D sprites into the game world in front of the camera. This is quite a shame, since UMG is quite nice for editing a HUD or touch controls. Maybe if enough of us request for this feature to be added, Epic Games would get around to improving UMG and widgets. I know there's another post (https://answers.unrealengine.com/questions/170026/3d-widgets-affected-by-lighting.html) requesting for more control over post processing on 3D widgets, but it's been years and they still haven't added the feature.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hey there. I was able to prove that it is in fact possible to post-process a UMG UI as if it were a 2D widget, however this only really works if your game is fully UI-based or 2D and doesn't require a perspective camera (so... no 3D games can do this.)

For those who are wondering if it's possible to post-process a UMG widget and make it look as if it were still in 2D space, I posted a tutorial over on the forums: https://forums.unrealengine.com/community/community-content-tools-and-tutorials/1538890-post-processing-a-umg-user-interface

more ▼

answered Oct 12 '18 at 01:48 PM

avatar image

Watercolor Games
1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question