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"

Localized Post-Process Effects


I am trying to achieve a localized post-process effect, as is shown on this (old) tutorial page: http://oliverm-h.blogspot.com/2014/08/ue4-localized-post-process-effects.html

However, I simply can't get it to function properly. I am using this blueprint and as far as I understand, I need to link my effect to 'SphereCenter' but it simply stays black no matter what I do and similarly, the outside stays in gray mist.

alt text

This is the kind of effect I am trying to achieve, where everything outside the sphere center is without effect:[2]

alt text

But unfortanely, I am stuck with a result like this, no matter what I hook to 'SphereCenter': ![alt text][4]

Product Version: UE 4.20
more ▼

asked Oct 24 '18 at 06:12 AM in Rendering

avatar image

48 6 8 11

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

You half way there, what you made is a mask and with that you can swap between 2 different post processing effects (or mask single effect) using Lerp node and it's Alpha pin, so you alter between A and B, or use it anywhere else

The way post processing material works is that you can sample screen pixels (as well as some other data in GBuffors, like outputs of other material on screen, roughtness etc.) like texture and alter it, you sample color using SceneTexture in PostProcessInput0, place Denaturation, plug Color to main pin of Desaturation and plug your mask to OneMinus (since more value is closer to 1 the more desaturated it becomes) and then plug it to Fraction, and thats it.

alt text

You probably would figure this one yourself if you knew about Post Process material and what you got on screen and think a little how you would use it to achieve the same result. So read about post process material:


more ▼

answered Oct 24 '18 at 06:58 AM

avatar image

35.2k 921 166 1098

avatar image TheoT Oct 24 '18 at 07:05 AM

Thanks for the super quick reply. Messing around with that, I managed to get it to work!

(comments are locked)
10|2000 characters needed characters left
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