Skip to content

LasseWestmark/Sparkle-Shader-Unity

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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