Master Glass Shader for all purpose

  • March 27, 2021
  • 1,043 Downloads
  • 39 Likes
  • Blender 2.9x
  • Render: Cycles
  • Creator: cronzi
  • License: CC-0
You must be logged in to download.

Description:

Recently I’ve been obsessed with creating a perfect Master Glass Shader that will suit all situations, regardless of using separate technique for specific situation. Early on I’d just slap a default glass material on every kinds of glass and call it day. Then gradually I’ve been noticing unsatisfactory results in my final renders. For ex: I’ve a scene with old tungsten bulb and using default glass was not giving me that realistic look. Similarly, when I used glass panels for windows, there wasn’t enough light coming into room. The solution was a technique with Light path that ignores shadow ray and reflection into a math mode and setting the mode to maximum.

For few moments I thought, that was it. Then while working on one of the client’s project there was a solid of glass sculpture with light inside it and both of the techniques were inefficient. And that’s is what made me come up with this fairly simple node setup to create that Master Glass Shader that fits in all situations without having to switch between materials and fiddle with values.

So, what did I have to understand when it comes to glass and it’s physical properties. All the glass seems to be very clear and without flaws. No glass is perfect. They will always have some impurities, distortions, surface imperfections, angular reflections, light refractions and absorptions.

Let me know what you created with in the comments.

Comments:

  • Ted3d profile picture
    Ted3d

    This a great shader, you did a very good job congrats! thank you for sharing stay safe

    Written April 03, 2021
  • cronzi profile picture
    cronzi

    Thanks my friend. I have updated the shader since last one, it will be using volume absorption too for realistic coloring when viewed from side. I will release it soon. Appreciate a lot.

    Written April 04, 2021
  • mx profile picture
    mx

    excellent :) Thanks alot

    Written April 30, 2021
  • gauwrong profile picture
    gauwrong

    Thank You !

    Written April 30, 2021
  • CS profile picture
    CS

    感谢您的付出!

    Written August 05, 2021
  • assad12 profile picture
    assad12

    thanks you for sharing

    Written July 18, 2022