Announcement

Collapse
No announcement yet.

So Blurred glass material is impossible in Unreal Engine 4?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    Ok, that's cool: now, I've got lightning reflections on my blurring panel.
    Looks even better, I think.

    Click image for larger version

Name:	WIP_2.jpg
Views:	1
Size:	78.1 KB
ID:	1079334


    Click image for larger version

Name:	WIP_3.jpg
Views:	1
Size:	101.5 KB
ID:	1079335
    Last edited by EdWasHere; 06-03-2015, 09:36 AM.
    GLASSES & WATER SHADERS & CUSTOM PLANAR REFLECTIONS on my Youtube Channel: https://www.youtube.com/channel/UCP2...26Y2bEV4kfl9kA

    Comment


      #32
      Ok, I go on experimenting and playing with this PostProcess Material.
      Here I try to get the effect of a white blurring glass, half-opaque and heavily blurring what's behind.

      Click image for larger version

Name:	Blur_WIP.jpg
Views:	1
Size:	127.9 KB
ID:	1079556

      When I'll stop playing, I'll post a video of a demo scene and, if someone is interested, I'll post my setup also.
      Last edited by EdWasHere; 06-08-2015, 05:30 PM.
      GLASSES & WATER SHADERS & CUSTOM PLANAR REFLECTIONS on my Youtube Channel: https://www.youtube.com/channel/UCP2...26Y2bEV4kfl9kA

      Comment


        #33
        I'm looking forward to seeing video of it, curious how much noise you see.

        Comment


          #34
          In this last screenshot, it's noisy but noise is a part of this blurring effect. Like in this example:

          Click image for larger version

Name:	Blur_Noise.jpg
Views:	1
Size:	10.4 KB
ID:	1079559

          But you can tweak this to minimum noise. At least, no more noise than in gaussian DOF with grain=0 in post process settings.
          Last edited by EdWasHere; 06-08-2015, 06:54 PM.
          GLASSES & WATER SHADERS & CUSTOM PLANAR REFLECTIONS on my Youtube Channel: https://www.youtube.com/channel/UCP2...26Y2bEV4kfl9kA

          Comment


            #35
            Ok, so here is a video.



            I think the effect is pretty neat but it can be improved concerning shadows on the panel.

            The level is running in standalone mode, in a 1280x720 resolution, on a quite old config (intel Q6600, GTX 560, 4GO RAM), at 60 fps.
            Last edited by EdWasHere; 06-13-2015, 06:03 PM.
            GLASSES & WATER SHADERS & CUSTOM PLANAR REFLECTIONS on my Youtube Channel: https://www.youtube.com/channel/UCP2...26Y2bEV4kfl9kA

            Comment


              #36
              Dayum, that's awesome.

              I'm curious, what is it like if you were to look through two panes with it applied, one at a distance behind the other, will it just look the same as looking through one, or would the second pane kind of double up the effect?
              Last edited by bogieman987; 06-14-2015, 12:43 PM. Reason: Because dam with an n is censored :/
              YouTube Playlist of W.I.P game project - https://www.youtube.com/playlist?lis...XCXMLFckHVo_bV (May contain swearing, I'm Irish :P)

              Comment


                #37
                @bogieman987: Thanks a lot, man!

                would the second pane kind of double up the effect
                I didn't try it yet (i'll do) but playing with actors in a level, i already noticed that refraction of 2 objects were combining.
                Last edited by EdWasHere; 07-02-2015, 03:19 AM.
                GLASSES & WATER SHADERS & CUSTOM PLANAR REFLECTIONS on my Youtube Channel: https://www.youtube.com/channel/UCP2...26Y2bEV4kfl9kA

                Comment


                  #38
                  Nice, how does/will one gain access to this?
                  YouTube Playlist of W.I.P game project - https://www.youtube.com/playlist?lis...XCXMLFckHVo_bV (May contain swearing, I'm Irish :P)

                  Comment


                    #39
                    For the moment, i'm exploring various other glasses effects with this post process approach and I'd like to make an environnement to show them.
                    Then, if enough people are interested, i could think about making a few video tutorials.
                    GLASSES & WATER SHADERS & CUSTOM PLANAR REFLECTIONS on my Youtube Channel: https://www.youtube.com/channel/UCP2...26Y2bEV4kfl9kA

                    Comment


                      #40
                      Cool, I hope enough people get interested then

                      Is it possible to kind of turn the effect off and on, so you could have something like those windows that change transparency depending on whether or not there's electricity?

                      Like in this video:
                      Last edited by bogieman987; 06-17-2015, 03:51 PM. Reason: Formatting
                      YouTube Playlist of W.I.P game project - https://www.youtube.com/playlist?lis...XCXMLFckHVo_bV (May contain swearing, I'm Irish :P)

                      Comment


                        #41
                        Your examples are very cool.

                        One thing I'd like to point out is that relying on the scene capture actor to remove the halo artifact is essentially turning this into multipass rendering which will be very slow in game usage. So it may be a good idea to give a strong disclaimer on any version of this that uses a scene capture.
                        Ryan Brucks
                        Principal Technical Artist, Epic Games

                        Comment


                          #42
                          @bogieman:

                          That's cool. I didn't know that.
                          My material is set up so that you could increase/decrease opacity of a glass (from fully transparent to something more translucent e.g. light passes but you don't really see objects) while in game
                          so you could use it to do it. But I don't think you would need to use blur to reproduce this effect as, when the screen has "white" on, you see nothing behind.

                          @RyanB:

                          Thanks a lot!

                          relying on the scene capture actor to remove the halo artifact is essentially turning this into multipass rendering which will be very slow in game usage
                          That's right.
                          Last edited by EdWasHere; 08-26-2015, 02:57 PM.
                          GLASSES & WATER SHADERS & CUSTOM PLANAR REFLECTIONS on my Youtube Channel: https://www.youtube.com/channel/UCP2...26Y2bEV4kfl9kA

                          Comment


                            #43
                            Wow Ed, those tests are amazing! I've been attempting to create a blurred glass as well through post process materials but haven't come anywhere near the quality of what you have come up with.

                            If you ever get to creating those tutorials I and many others would be very grateful!

                            Comment


                              #44
                              @Ultrabuffallo: thanks!

                              Another example:

                              Refractive panel with a mesh, not only a plane with a normal map. I think it looks better:

                              Last edited by EdWasHere; 07-02-2015, 03:51 AM.
                              GLASSES & WATER SHADERS & CUSTOM PLANAR REFLECTIONS on my Youtube Channel: https://www.youtube.com/channel/UCP2...26Y2bEV4kfl9kA

                              Comment


                                #45
                                Other effect: translucent white plastic. Second time I try to fake it. This time, I think it's better.

                                Last edited by EdWasHere; 06-28-2015, 01:28 AM.
                                GLASSES & WATER SHADERS & CUSTOM PLANAR REFLECTIONS on my Youtube Channel: https://www.youtube.com/channel/UCP2...26Y2bEV4kfl9kA

                                Comment

                                Working...
                                X