Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.23 KB

README.md

File metadata and controls

34 lines (25 loc) · 1.23 KB

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)