Skip to content

Instantly share code, notes, and snippets.

View krooq's full-sized avatar

Gavin Rossiter krooq

View GitHub Profile
@ScottJDaley
ScottJDaley / Outline.shader
Last active July 24, 2024 06:04
Wide Outlines Renderer Feature for URP and ECS/DOTS/Hybrid Renderer
// Original shader by @bgolus, modified slightly by @alexanderameye for URP, modified slightly more
// by @gravitonpunch for ECS/DOTS/HybridRenderer.
// https://twitter.com/bgolus
// https://medium.com/@bgolus/the-quest-for-very-wide-outlines-ba82ed442cd9
// https://alexanderameye.github.io/
// https://twitter.com/alexanderameye/status/1332286868222775298
Shader "Hidden/Outline"
{
Properties