Skip to content

LasseWestmark/Sparkle-Shader-Unity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

56c5a65 · Dec 7, 2017

History

13 Commits
Dec 7, 2017
Dec 7, 2017
Dec 7, 2017
Dec 7, 2017
Dec 7, 2017
Dec 7, 2017

Repository files navigation

Sparkle Shader Unity

ScreenShot

About

After looking for a sparkle/glitter shader implementation and only finding THIS pdf from AMD (Page 22). I found the AMD implementation lacking as it is grid based which is clearly visible in my opinion, so I decided to roll my own.

Three example shaders is included

Example shader 1: Only sparkles.

Example shader 2: Sparkles combined with a barebones diffuse+specular setup

Example shader 3: Sparkles combined with reflection and refraction for a bit of fancyness

Demo

The shaders are visible in action at https://westmark.itch.io/sparkleshader