Simple Glass Shader(URP)


Important:

For this shader to display correctly, you must first enable the "Opaque Texture" option in your Unity Project's URP Asset.


  • Simple Glass Shader(URP) is a versatile and easy-to-use shader built specifically for Unity's Universal Render Pipeline(URP). Whether you're creating windows, bottles, screens, or any transparent material, this shader provides everything you need to bring realistic glass to life.
  • You can control the glass color, and index of refraction to simulate depth and bending of light through the material. The built-in rim lighting allows you to highlight glass edges with customizable rim color and intensity, enhancing visibility and realism.
  • The shader also includes a simple reflection effect, letting you tweak reflection color, strength, smoothness, and direction, without relying on external reflection probes.
  • On top of that, you can apply Base Map for surface texture and Normal Map to simulate surface distortion, scratches, or unique patterns on the glass.
  • Perfect for stylized or semi-realistic projects that require customizable glass without the overhead of complex rendering pipelines.

  • Supports the following Unity versions:
    • Unity 2022
    • Unity 6000.0 (Unity 6.0)
    • Unity 6000.2 (Unity 6.2)