UE4 Material – Glass

I found couple posts / questions about glass (or window if you like) material in Unreal Engine 4, so I decided to make easy-to-use templates. Features are described below. Hope you like it.

I use 2 master materials: Glass_Master and GlassShattered_Master to define various glass materials.

Glass_Master uses additional dirt layer (optional)

Parameters you can control:

  • Color // Controls glass tint
  • Opacity // Controls opacity
  • Refraction // Similar to refractive index. I don’t use physical-based values for glass (~1.490 – 1.492) since, in my opinion, it gives unrealistic results for thin surface (image was too distorted).
  • Roughness // A constant that defines how rough is the surface.
  • SpecStrength // Controls reflections intensity (based on Roughness value)
  • Texture tile // Glass/Normal map tile
  • UseNormal // Must be enabled if you want to use Normal Map
  • NormalMap
  • HeightRatio (only in GlassShattered_Master) // controls BumpOffset
  • GlassTexture (only in GlassShattered_Master) // It’s input for RGB texture. R channel blends with glass color, G channel controls opacity, B channel – is used for bumpOffset.
  • Dirt color // Color of a dirt layer
  • DirtIntensity // 0.0 – no dirt layer, 1.0 – maximum dirt map intensity (based on texture)
  • DirtMask // Texture used to create dirt. It uses only red channel
  • DirtScale // Controls DirtMask tilling

GlassShattered_Master doesn’t have dirt layer.

Example Material Instanced in the package:
– Clean
– Dirty
– Colored (blue, red, etc)
– Milky
– Shattered 1
– Shattered 2

Did you like this pack?

Check out also the Advances Glass Pack (link)
YouTube: (link)


Password for archive
007_Glass_pass

28 komentarzy do “UE4 Material – Glass”

  1. I checked the package yesterday and it works in 4.7.2. You just need to maintain the same folder hierarchy in your root content. I think I’ll just make my packages more User Friendly soon 🙂

    Anyway, I started working on an Advanced Glass / Window material pack, so maybe you’ll be interested. I plan to publish it on UE Marketplace.
    Here’s a WIP: http://imgur.com/a/zGbog

    Let me know if you still have problems.

  2. I don’t get it to work 🙁
    Only I see empty folders when open in a project
    Any news on your Advanced Glass / Window material pack?

  3. Hello Grobi,
    Have you watched this video: https://www.youtube.com/watch?v=LIT2XNTRkI4 ? Recently I’ve updated my packages so all you need to do now is to copy M_Orzelek_Assets folder into your Content folder.

    „Any news on your Advanced Glass / Window material pack?”
    Yes, it’s 90% finish. I’m making user documentation and example level to showcase new shaders. I’ll release some screenshots next week on this blog.

  4. I downloaded the files and have them in the correct folders, but when I attempt to use them a message appears, saying 'Failed to load assets’

  5. Sorry,i’m not expert in materials in UE4 yet,but when i import the materials to my project and click on any material ,it doesn’t work,it shows me a blank material with no parent and no phys material.Any way i can solve this pls?

  6. I see your website needs some fresh & unique articles. Writing manually is time
    consuming, but there is tool for this task. Just search in gooogle for
    – Avurker’s essential tools

  7. It is normal for the package to only have material instance?? Should not be on thepackage the material and material instance?? I followed your tutorial of how install packages, but when I put the material it dosen’t work

  8. When I try to extract the ZIP file it asks me for a password, would you know what this is?

  9. hey it didnt work for me, unreal f*cked up the textures/materials so its opaque instead of clear, its kinda weird

Możliwość komentowania została wyłączona.