← All resources

ColinLeung-NiloCat GitHub - URP Unlit Screen Space Decal Shader

Auto-discovered

Library / Codebase Intermediate

ColinLeung-NiloCat

Visit resource ↗

Description

ColinLeung-NiloCat's UnityURPUnlitScreenSpaceDecalShader is an open-source forward-URP shader for screen-space unlit decals without Unity's Decal Projector. The repo provides HLSL and screenshots on non-flat receivers.

Decals are cube GameObjects using this material; orient local Z through surfaces and use depth-texture clipping. Alpha, additive, multiply, and opaque blends cover splats, holes, dirt, logos, and blob shadows where quads fail.

For intermediate developers with Depth Texture on the Universal RP asset. Unity 2020.3 or 2021.3 LTS; mobile needs OpenGL ES 3.0.

Copy shader, create material, assign texture, intersect a thin cube, tune blend and ZTest. README notes SRP Batcher use, overdraw limits, and game-view fixes.

Often cited on GitHub as a minimal URP decal sample; links INSIDE and Warhammer 40K screen-space decal talks.