If you are looking for a more advanced glass shader, check This one!
Thanks to @HiRoS-neko
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)