Glass Shader in Unity URP (Reflection - Distorted - Frosted)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey guys it's Matt welcome to speed tutor and I'm always on the lookout for great assets and Creations that can help you with game development now I found on GitHub by Omid 3098 which is a urp glass Shader which supports a basic glass reflective Shader and can add Distortion colored glass and lots of different customizations from there so I'll be sure to check out all the links in the description for all the best tools savings and tutorials that you can save for this month because there's thousands of savings across everything and be sure to check out my patreon if you want to get access to over 165 different scripts assets and projects navigate to the unity urp glass shoda in the link in the description and when they are in here you can check out some of the details about how it looks and how it's set up but we just need to make sure that we enable an opaque Shader now you can go to the top corner of the GitHub page and click download the zip and make sure you import the package into Unity by just importing the material real the Shader and you can look at the readme and the readme does suggests you need to accept opaque Textures in your urp settings so whether you're using low medium on a higher whatever you just mean to make sure that you enable or pick texture or it won't render correctly so now here I've just got a box I can right click 3D object and create Cube and I've just got something that I'm going to add the effect to so what I can do is right click if we want to create a new one we could use material and then I'm just going to call this glass tutorial as another example and then what we could do when we created a new material we can drop down to Shader graphs and choose the glass Shader we can make sure it's applied to our object you may want to make sure that's an alpha value of one and you can set the tint color to whatever you want to use then what we can do is drop the metallic value all the way down to zero then we can increase the smoothness value all the way to one then if you want to you have got Reflections in this object to begin with as you can see here because I've got some reflection probs in this just default scene here you can increase or decrease the strength of reflection that you see within the window or the mirror or whatever you want this glass to be and then if you do want to affect how distorted the glass looks you can change the tiling amount and the Distortion strength and we can get that look of frosted glass and then as you can see with the frostedness if we take the tiling down we can get much less distortion on that glass that we've just made and then as I say you can increase or decrease the tiling if you want it to be normal or distorted glass once again so this is a cool little Shader that might help you out in urp so let me know what you think and be sure to check it out on GitHub if it interests you so be sure to check out my patrons get access to over 165 different scripts assets and projects you cannot find anywhere else check out my gray assets on the unity asset store and on my website for all those great savings too big thank you to all my patrons including Peter Steiner Hoagland eigen Rahim Whitaker Jean pommy manasparagus Terence Conrad Walter Dunson Joseph Newman running a Leisure Topher Chambers krashnikali Alex Shen Alyssa faden Daniel getajank Ron Jay Ishikawa takuya hush Thomas mercileski nakaton Kyle turnick and Callum Murray so thank you to everybody else who comes to watch the video don't forget to like comment and subscribe cheers
Info
Channel: SpeedTutor
Views: 22,870
Rating: undefined out of 5
Keywords: unity urp glass shader, glass material unity, unity urp glass, glass urp, unity glass shader, unity urp glass material, unity URP glass material, speed tutor glass, speed tutor materials, speed tutor tutorials, speed tutor unity, speedtutor unity, URP glass, URP glass tutorial, github glass, glass shader unity, unity glass shader urp, urp glass tutorial, glass urp shader, material glass unity, unity glass, how to make glass in unity, make glass unity urp, URP, unity 2022
Id: V4f8P4hbdkI
Channel Id: undefined
Length: 3min 30sec (210 seconds)
Published: Sat Oct 01 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.