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"

How do I make blurry/dirty glass?

Hi guys,

Is there any way to blur the refraction on the glass material? Or some other way to fake it, so when one is looking through the glass, the image is blurred?

Thanks.

Product Version: Not Selected
Tags:
more ▼

asked Apr 02 '14 at 05:01 PM in Using UE4

avatar image

BrickTop
89 16 20 21

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

3 answers: sort voted first

I had a similar effect I was trying to achieve recently (etched glass and glossy refractions).

The closest I managed to get it to work was to pipe in a high frequency noise into the refractive index, clamped between 10% -+ of my target IOR.

The problem is, the engine takes a couple of seconds to update the refraction, so your fuzzy glass has a weird swimming effect. Not ideal.

more ▼

answered Apr 04 '14 at 11:45 AM

avatar image

scrcr0
283 15 17 31

avatar image BrickTop Apr 04 '14 at 12:01 PM

Thanks for answer, Crow87. It's a nice idea, gonna give it a shot. Have you ever tried the same high frequency noise piped into the normal? May give it sort of a roughness effect. I think, in some cases, sticking a fog volume behind the glass may simulate similar effect, but of course it's still not ideal.

avatar image scrcr0 Apr 04 '14 at 12:37 PM

Ideally I'd like to figure out a way to blur the overall image based on a mask from the glass as a post process, but I'm still working that out. I'll post back if I find anything.

avatar image BrickTop Apr 04 '14 at 12:51 PM

I remember in UDK, I managed to use blur post process node to blur the cubemap capture actor output texture. Maybe something like that can work, it it is used with refraction input?

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

Glass Seems to be A Tricky Bit of Business right now. Reflections, Blurriness all have issues, my immediate suggestion is add a reflection Cube to the material, and blur it in Photoshop....

more ▼

answered Apr 03 '14 at 09:27 PM

avatar image

DCrosby
36 4 8 12

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

Maybe have some kind of vertex based distortion/scattering in the shader?

Although, that might require you to increase complexity of your mesh at the point where it's supposed to be refracting/blurring. And if this area is not static but changes/moves, well that makes it even more interesting to accomplish. :)

more ▼

answered Apr 04 '14 at 12:03 AM

avatar image

amigo
1.1k 52 32 90

(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