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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

Blur in Post Process Material

Hello, I'm making progress on my water system and now I'm in need of some advice for adding blur underwater. My underwater effects are all in a post process material because I'm using it to blend between above and below water to get a defined line on screen when partially in the water. I have tried using a spiral blur, but it makes everything white. I have also found some code for a custom gaussian blur node that takes the scene texture, but there is no input for the strength of the blur. I am not at all versed in hlsl or how to implement it in Unreal, so any help would be appreciated.

I basically need to have a blur node that takes SceneTexture:PostProcessInput0 and blurs it with the ability to control it's strength.

Product Version: UE 4.18
Tags:
more ▼

asked May 11 '18 at 10:58 AM in Rendering

avatar image

Gampersnaz
80 9 16 21

avatar image Jeremy Q ♦♦ STAFF May 11 '18 at 04:33 PM

Hi Gampersnaz,

Could you provide me an image of the setup you currently have for your material?

avatar image Gampersnaz May 11 '18 at 04:57 PM

Here are the images of my post process material. I broke it up into various shots so you can see whats going on. I would like to add a blur under water as well as a strong blur for the water line itself. The line is currently just a black bar that sort of covers the clipping of the water plane. It would look much better with some blurring or distortion.

alt text

avatar image Jeremy Q ♦♦ STAFF May 11 '18 at 08:00 PM

Can you give me an example of what you want the end result to look like? Also have you tried enabling and adjusting Depth of Field in your post process volume?

avatar image Gampersnaz May 12 '18 at 12:33 AM

using the DOF in the post process volume is out of the question, because that would apply to both under water and above water. This material is what separates the above/below water, and thus my under water effects need to be done in it. I need a node that I can feed in scene texture:postprocess input:0, blur it, and use it to lerp into my under water effects, as well as my water line to hide the sharpness of the near clip plane

This is an example of what my post process material does: https://c.stocksy.com/a/kNL300/z0/797180.jpg

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

0 answers: sort voted first
Be the first one to answer this question
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