From the course: Unity 3D: Lunchtime Lessons

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Creating glass materials

Creating glass materials - Unity 3D Tutorial

From the course: Unity 3D: Lunchtime Lessons

Start my 1-month free trial

Creating glass materials

- [Instructor] Hi there. Getting realistic glass is always a challenge in any render. So let's take a look at how to create a realistic refractive glass in Unity's HDRP. Now the best way to get refractive glass is to obviously use ray tracing, HDRP does turn all of that on. So make sure you have an HDRP scene set up. And if you use this scene, it's already there. So we're going to add something to this sphere and make it look like a glass sphere. So I'm just going to hop over to the TMP of the temp folder and let's go ahead and just create a material. So I'm going to go ahead Create, Material and let's go ahead and name that Glass. And then just left-click and drag it onto the sphere. So now that we have this, we can start to manipulate this material to make it look a little bit more like glass. Now, the type of shader we're using is the HDRP Lit shader. And that's the default shader for this type of scene. And so the…

Contents