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"



Is there a way to get the dof function set on gaussian blur mode and use it as a postprocess input for a material ?

The goal of this is to get a frosted/blured glass (sorta :p )

Product Version: Not Selected
more ▼

asked Dec 01 '14 at 04:29 PM in Rendering

avatar image

1 2 3 3

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

1 answer: sort voted first

The engine includes a material function that should be able to provide the desired effect.

Look for "SpiralBlur-SceneTexture", your material must be Translucent for this to work.

More info on how this became a thing: https://forums.unrealengine.com/showthread.php?70143-So-Blurred-glass-material-is-impossible-in-Unreal-Engine-4

alt text

alt text

more ▼

answered Feb 08 '16 at 09:26 PM

avatar image

Tom Looman
484 35 88 55

avatar image AndrewHurley Dec 01 '14 at 06:42 PM

Hello Meian,

There is actually a function called "DepthOfFieldFunction" within the Material editor which will allow you to get on the right track to creating the effect you are looking for. Here is some helpful documentation on how to use it, and how it looks in game.




Andrew Hurley

avatar image Meian Dec 02 '14 at 12:44 PM

This is a nice Function/trick but I'm looking for achieve this kind of result (see image above) Is it possible ?

alt text

avatar image Meian Dec 02 '14 at 12:47 PM

This "effect" was done simply with a gaussian blur applied only on the object, is there a way or trick to use a gaussian blur filter like the one used with the dof posteffect and put it on a translucent material ?

avatar image AndrewHurley Dec 02 '14 at 03:52 PM

Yes this effect is possible. You will want to set up an opacity mask and set the the mask to have a slight offset and blur effect. A good place to begin understanding the Material Editor and its functions would be to open up the materials and advanced materials examples in the 'Content Examples' project, which you can download from the Marketplace.

Here is some extra documentation on the basics of materials and their properties. This should get you on your way to creating the blurred glass effect you want.

Material Inputs https://docs.unrealengine.com/latest/INT/Engine/Rendering/Materials/MaterialInputs/index.html

Materials How-to https://docs.unrealengine.com/latest/INT/Engine/Rendering/Materials/HowTo/index.html


Andrew Hurley

avatar image cgiteach Feb 05 '16 at 07:03 PM

Andrew, I'm afraid nothing in the resources you've referenced will produce that effect at the moment. Blurring as a post process effect is doable but it's currently impossible to isolate a translucent material from the scene texture node.

avatar image AndrewHurley Feb 05 '16 at 07:52 PM

Is there a reason you are not using a burred texture for the glass you wish to be blurred?

I would also take a look at investing in the 'Advanced Glass Material Pack' we have on the marketplace. It is very cost effective for what you get, and you can also learn a great deal from how he has set up his materials.


Andrew Hurley

avatar image cgiteach Feb 05 '16 at 08:06 PM

A blurred texture will not work because what I need to show behind the glass changes as I walk around it. The only way a blurred texture would work is if this would be a scene capture 2d component aligned with what the active camera is showing; but getting that aligned is much more complex than just getting a mask out of a translucent material..which is something I can't seem to figure out how to do.

The Advanced Glass Material Pack is probably a great pack for the money it costs but is deceptive in it's presentation as the the frosted material isn't frosted like the OP illustrated with the above picture. Even with the material pack creator using blurred hdr backgrounds you can tell there is no further blurring done.

I'm not trying to be negative...but it's a nagging issue currently with UE4.

avatar image FrankKappaPride Mar 15 '16 at 06:06 PM

You guys are awesome. I always get the promised features sooner than expected. Thankyou for your amazing work

avatar image isgoed Apr 07 '16 at 05:04 PM

This is only available since UE 4.11?

avatar image AndrewHurley Apr 07 '16 at 05:51 PM

That is correct. It was implemented within 4.11

(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