Skip to content

Instantly share code, notes, and snippets.

@andrewgotow
andrewgotow / simpleblur.shader
Last active February 22, 2019 17:18
Post-process shader for separable gaussian blur with linear sampling.
Shader "Postprocess/Simple Blur"
{
Properties
{
_MainTex ("Texture", 2D) = "white" {}
}
SubShader
{
Tags { "RenderType"="Opaque" }
LOD 100
@andrewgotow
andrewgotow / IntersectionGlow.shader
Created September 11, 2016 16:52
Unity - Depth Intersection Shader
Shader "Unlit/Intersection Glow"
{
Properties
{
_Color ("Color", Color) = (1,0,0,1)
}
SubShader
{
Tags { "RenderType"="Transparent" "Queue"="Transparent" }
LOD 100