Skip to content

Instantly share code, notes, and snippets.

View Phyllostachys's full-sized avatar

Jacob Shaffer Phyllostachys

View GitHub Profile
@Phyllostachys
Phyllostachys / Pearlescent.shader
Created July 15, 2017 05:05 — forked from cancinconn/Pearlescent.shader
An attempt at a basic pearlescent shader for Unity.
Shader "Custom/Pearlescent" {
Properties {
_Color ("Color", Color) = (1,1,1,1)
_ColorDirect("Indirect Color", Color) = (1,1,1,1)
_Iterations("Iridescence Function Iterations (Power)", Range(0,10)) = 5
}
SubShader {
Tags { "RenderType"="Opaque" }
LOD 200