Skip to content

Instantly share code, notes, and snippets.

View dhtpdud's full-sized avatar
🫠

Oh Seyoung dhtpdud

🫠
View GitHub Profile
@dhtpdud
dhtpdud / UIBlur.shader
Created June 22, 2020 08:09 — forked from JohannesMP/UIBlur.shader
UI.Image Blur Shader with layering and masking support
Shader "Custom/UIBlur"
{
Properties
{
[Toggle(IS_BLUR_ALPHA_MASKED)] _IsAlphaMasked("Image Alpha Masks Blur", Float) = 1
[Toggle(IS_SPRITE_VISIBLE)] _IsSpriteVisible("Show Image", Float) = 1
// Internally enforced by MAX_RADIUS
_Radius("Blur Radius", Range(0, 64)) = 1