Instantly share code, notes, and snippets.
mattdevv
/ HiddenJumpFloodOutline.shader
Last active
April 15, 2024 13:44
— forked from bgolus/HiddenJumpFloodOutline.shader
Jump flood based outline effect for Unity https://medium.com/@bgolus/the-quest-for-very-wide-outlines-ba82ed442cd9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "Hidden/JumpFloodOutline" | |
{ | |
Properties | |
{ | |
_MainTex ("Texture", 2D) = "white" {} | |
} | |
SubShader | |
{ | |
Tags { "PreviewType" = "Plane" } | |
Cull Off ZWrite Off ZTest Always |
bgolus
/ HiddenJumpFloodOutline.shader
Last active
April 19, 2025 21:06
Jump flood based outline effect for Unity https://medium.com/@bgolus/the-quest-for-very-wide-outlines-ba82ed442cd9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "Hidden/JumpFloodOutline" | |
{ | |
Properties | |
{ | |
_MainTex ("Texture", 2D) = "white" {} | |
} | |
SubShader | |
{ | |
Tags { "PreviewType" = "Plane" } | |
Cull Off ZWrite Off ZTest Always |