Skip to content

omid3098/Unity-URP-GlassShader

Repository files navigation

UnityGlassShader

If you are looking for a more advanced glass shader, check This one!

image

Update: Supports diffuse texture

Thanks to @HiRoS-neko image

Demo Video:

movie_001.mp4

Materal parameters:

glass.mp4

Installation:

  • Make sure Opaque texture is checked in your Universal render pipeline asset.
  • Clone this repo and put it into your project.
  • Use glass material or create your own material from "GlassShader" shadergraph file.
  • Assign material to your object

Features:

  • Tint color
  • Metalic and smoothness
  • Normal strenght
  • Distortion tiling
  • Reflection strenght
  • Distort strenght

This shader does not:

  • No refraction and only distorts behind the glass.
  • No multiple glass on top of each other. (whould be nice if you know how to implement)

About

A beautiful glass shader with distortion for Unity URP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published