• Stars
    star
    158
  • Rank 236,066 (Top 5 %)
  • Language
  • License
    MIT License
  • Created over 2 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A beautiful glass shader with distortion for Unity URP

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)

More Repositories

1

OpenTerminal

Open Terminal for Unity3D. execute your commands in runtime!
C#
113
star
2

OpenFlowMap

C#
91
star
3

ShaderGraphBaker

Use ShaderGraph as a texture creation tool!
C#
60
star
4

OpenUi

Make your game Ui in minutes!
C#
42
star
5

Unity-URP-ScreenSpaceRefraction

A beautiful advanced refractive shader with distortion for Unity URP. Suitable for complex glass scenarios.
33
star
6

OpenWatcher

Check your field or property value at runtime in game view.
C#
28
star
7

OpenFramework

A Lightweight framework for unity with dependency injection
C#
20
star
8

OpenTouch

Tries to be a fast and multiplatform touch/click library for Unity 3D and 2D
C#
13
star
9

camera_shakify_unity

Blender`s Shakify addon in Unity!
Python
11
star
10

OpenLogView

An opensource runtime log viewer for unity. Android / IOS / Standalone
C#
9
star
11

OpenPackageManager

A powerful package manager for unity game engine
C#
6
star
12

IronPythonUnity

Program using python in Unity game engine.
C#
5
star
13

OpenAudio

An easy to use Unity audio service
C#
4
star
14

ODPlanarReflection

Planar reflection solution for Unity URP
ShaderLab
2
star
15

OpenRest

C#
2
star
16

Juicing-Your-Unity-Game-Source

This repository contains the source code and assets for our guide to Juicing your game in Unity. Explore the code, try out the examples, and start juicing up your Unity game.
C#
2
star
17

OpenTrail

Easy to use trails for touch and click positions
C#
2
star
18

omid3098

Config files for my GitHub profile.
1
star
19

CryptoRoomz-MainRoom

1
star
20

omid3098.github.io

HTML
1
star
21

time.ir-cli

My first bash script to get date from Time.ir
Shell
1
star
22

BAR1C

Python
1
star
23

stable-diffusion-unity

C#
1
star
24

expander-addon

Press CTRL+M to expand you ui element
GDScript
1
star