A fast, straightforward glass shader for Unity URP (desktop, mobile, WebGL).

Everything in the Demo folder is optional, so you **don’t need to import it.

image.png

PBR

Physically-based rendering, similar to the standard lit shaders found in BiRP, URP and HDRP.

Refraction

Simulate light changing direction when it enters/exits the material.

Essentially the distortion of anything behind the glass…

Fresnel

Also known as rim glow or lighting.

Fresnel Lighting

The influence of scene lighting on the effect.

Translucency

Simulates volumetric light scattering via backface transmission.


⚠️ Ensure Unity’s URP “Opaque Texture” is enabled.

That’s it! It’s like any material/shader in Unity.