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"

Blur silhouette of mesh with material or post processing??

I am attempting to create a material or pp material that will effectively blur the silhouette of a mesh. I need to be able to detect edges and then blur inward. I would use this mask as an alpha to blend between postprocessing0 and the mesh render itself.

I know that I can create an outline with a pp material and flag meshes I want to inherit the outline as "render custom depth." But how would I then blur inwards?

Here is an example: alt text

So I need a way to render this mask somehow.. either within a material.. or a pp material. alt text I would then use this mask to create a translucency mask that would effectively blur the silhouette.

Product Version: UE 4.11
Tags:
example.jpg (146.7 kB)
mask .jpg (101.0 kB)
more ▼

asked May 06 '16 at 11:36 PM in Rendering

avatar image

aaronkaminer
3 4 6 7

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

1 answer: sort voted first

Here is the post process material:

alt text

A bit involved but not as expensive as I expected.

more ▼

answered May 07 '16 at 08:27 AM

avatar image

ZoltanE
1.6k 80 94 146

avatar image ZoltanE May 07 '16 at 08:28 AM

This is how it looks like:

alt text

avatar image aaronkaminer May 07 '16 at 09:38 AM

This is fantastic. This is very much so what I was thinking. I will implement this asap. Thank you very much for helping me expedite this! I will let you know how it goes!

avatar image ZoltanE May 08 '16 at 07:15 AM

If you found an answer helpful then please mark it as accepted. :)

(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