Announcement

Collapse
No announcement yet.

Advanced Glass Shader

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

    [SUBMITTED] Advanced Glass Shader

    If you're looking for a shader that simulates the kind of glass you find used in sculptures, crystal balls or other solid shapes then look no further. This beautiful shader gives you fine control over parameters such as transmission colour, reflection colour, curvature, refraction, chromatic abberation, opacity, specular and roughness.

    Including four common and hideous art glass creations, the Advanced Glass Shader is the perfect addition to archviz, fantasy and sci-fi settings.

    This shader is not intended for planar glass surfaces. Please use the default Unreal Engine translucency for objects just as windows. Requires at least one SceneCaptureCube component for reflection/refraction.








    Last edited by Antidamage; 10-19-2016, 06:06 AM.

    #2
    Awesome!
    Easy colorgrading LOOKBROWSER.com

    Comment


      #3
      So, are you giving it away? Or selling? Because it looks totally amazing.

      Comment


        #4
        Selling! It should be on the marketplace within the next fortnight.

        Comment


          #5
          Looks amazing! Can't wait to test it out.
          My Environment Artist Portfolio
          My Artstation

          My Marketplace

          Comment


            #6
            Hey guys! It's been a while since I updated this asset, so a free update is coming your way!

            Update 1 will add flawed crystal materials that simulate everything from precious stones to cracked ice:



            Look for it next week!
            Last edited by Antidamage; 08-01-2017, 08:06 PM.

            Comment


              #7
              I'm a little bit behind on releasing the update, but here's another sneak peek:

              Comment


                #8
                Here's a quick selection of some of the things included in the update:

                Flawed Crystal Parameters




                Presets

                Diamond


                Jade


                Glass


                Lake Ice


                Glacier


                Icecube

                Comment


                  #9
                  Hey guys! The Flawed Crystal update is finally live.

                  Comment


                    #10
                    Time for another update!

                    Blurred Glass





                    The new shader consists of a post-process filter and an example glass material. This shader will work with existing glass materials from Unreal Engine, with a few adjustments in the material details.

                    This shader is appropriate for archviz and gaming applications.

                    Three post-processing slots are provided for different blur behaviours and includes chromatic aberration for accurate hardened glass simulation such as coffee tables.









                    Instructions

                    Setup

                    1. Enable "Custom Depth with Stencil" in your project settings
                    2. Enable "Render after DoF" and "Custom Depth Writes" in your glass material details
                    3. Add post-process material and add "BlurGlassPost" as a material post-processing effect
                    4. For the highest quality glass set your glass materials to "Surface forward shading", but this is optional
                    5. Add a normal map to your glass material to match the blur parameters, e.g. frosted glass. This will help with specular behaviour.

                    Applying in world:

                    1. Select your glass objects and check "Render custom depth" under "Render" in the details panel.
                    2. Set their "CustomDepth stencil value" to between 1 and 3.
                    3. Adjust the values for each stencil in the post-processing material instance as demonstrated in the screenshots above.

                    This update will be released very shortly!
                    Last edited by Antidamage; 02-12-2018, 05:17 AM.

                    Comment


                      #11
                      I've just spent an hour trying to load the glass shader into projects that I had it already in there so i could get axcess to the blurred glass and it keeps deleting files I had in there like the map and the mat_glass and nothing in the blurred glass . Tried this on 2 computers in multiple projects - half the time it says it can't load over some of the assets then the mat_glass dissappears and they no longer work ??? any ideas

                      projects that do not have it in it and not all loads - no blurred glass no mat_glass no map - ///4.17
                      deleted off hard drive and aded to project from marketplace as well
                      Last edited by Arcane; 01-31-2018, 09:39 PM.

                      Comment


                        #12
                        That's unusual.

                        For the first issue, try deleting the old version of the asset from your project (but keep your presets), then re-inject it into the project from the launcher. If this keeps failing Epic are the ones to talk to as the launcher is rubbish when it comes to deploying assets. The more we complain the faster it'll get fixed. You could also try injecting them into a new project and then migrating them over to your existing project.

                        It's strange that you're not getting blurred glass on a new project. Are the new glass windows present next to the vases in the overview map? If not then you're not getting the new content. If they are and they're just not blurring make sure you've followed the steps in the post above this one.

                        Comment


                          #13
                          Small update coming shortly: the blur shader wasn't taking into account distance of the viewer from the glass surface. This is now fixed.

                          Comment


                            #14


                            There seems to be a lack of good caustics available in UE right now, so I've fixed that. Coming in the next update: caustics.

                            The effect is decal-based and the update includes adjustable decal material, water surface material and water volume material. It's best viewed in motion:









                            Last edited by Antidamage; 02-12-2018, 08:39 AM.

                            Comment

                            Working...
                            X