Unity 6 · URP 17+ · RenderGraph

Bordercraft - Selection Outline for URP

Zero-cost selection outline for Unity

A screen-space selection outline — soft glow or hard edge — built natively on the URP RenderGraph API. Costs nothing the moment nothing is selected: no texture allocated, no pass enqueued.

Coming Soon to Asset Store Documentation Changelog
How it looks
Four copies of the same character with different outlines - soft glow, hard line, wave and wave with thickness variation - beside the profile Inspector they come from.
One outline, many looks — style, color, gap, wave and thickness all live in a single profile asset.
The same character half behind a wall, shown three times: outlined through the wall, outlined only where visible, and outlined only where hidden.
Three ways to handle walls — seen through them, occluded by them, or outlined only on the part they cover. Decided per pixel, with no bookkeeping on your side.
Three characters outlined at the same time in green, orange and pink.
Tell them apart at a glance — enemies, loot and allies can each have their own outline on screen at the same time.
Two Frame Debugger captures side by side: 65 events with nothing selected, 68 events with one object outlined.
Costs nothing when idle — with nothing selected, not one of the outline's render passes is in the frame.
An outlined character with the screen area the outline passes touch shaded as a box around it.
Small on screen, small to render — when it does run, only the box around what's outlined is shaded, not the whole frame.
The Setup Wizard with two URP renderers ticked, and the renderer Inspector afterwards showing the outline feature added.
Set up in minutes — the wizard opens itself on first import, adds the feature to the renderers you pick and assigns a default profile.
A code snippet calling Outliner.SetSelected beside the Outline Target component in the Inspector.
One line of code, or none — call it on any GameObject with no component to add first, or add Outline Target and toggle it in the Editor.
Diagram: several outlined rocks point at one profile asset, which is assigned to a channel slot in the renderer feature.
One profile, many objects — edit a profile once and every object using it changes with it.
Two styles, and motion on top
Soft
Blurred Glow
Dilate (for gap/wave) + separable Gaussian blur + subtract — a soft halo that reads well over any background. 3 render passes, 4 with gap or wave.
Hard
Cheap Edge Line
Two-ring near/far tap directly against the raw silhouette — no blur pass at all. The lowest cost of the two styles.
Motion
Wave, Pulse & Stop-motion
Either style can animate: bumps travelling around the object, the whole outline breathing in and out together, or stepped stop-motion jitter. Wave speed can change while the game runs, so an outline can race like a heartbeat and settle back down smoothly. Free in Hard style; adds the dilate pass in Soft.
Everything you need, nothing you don't
⬡Zero-cost-when-idle
No object selected on a channel, no cost — no texture allocated, no pass enqueued. A screen-space effect normally runs every frame while it's enabled; these passes are enqueued only when there's something to outline.
▣Screen-space scissor culling
When it does run, every pass after the silhouette is clipped to the on-screen box around what's outlined — cost scales with how much of the screen the object covers, not with your render resolution.
◈Native RenderGraph API
Built on URP 17+ RenderGraph from the ground up — no legacy command buffers, no per-project Layer configuration required.
⊕Up to 4 channels
Several independently-styled outlines at once — a different color for enemies vs interactables — each with its own zero-cost gate.
◎Resolution-independent scaling
Radius, gap, and wave calibrate at 1080p and scale automatically — reads the same relative size at any resolution.
⌘Setup Wizard
One-click installation across every URP Renderer asset in your project, with a default profile assigned automatically.
⚡One-line Runtime API
Outliner.SetSelected(go, true) — no scene setup, no pre-placed component required.
Control it from code
SelectionManager.cs
// Turn the outline on or off for any GameObject — no setup required
using Bordercraft;

void Highlight(GameObject go, bool isEnemy)
{
    // Route to a different channel/profile depending on object type
    Outliner.SetSelected(go, true, isEnemy ? 1 : 0);
}

void ClearHighlight(GameObject go)
{
    Outliner.SetSelected(go, false);
}
Tested on
RequirementMinimumNotes
Unity version 6000.0 (Unity 6) Tested on 6000.0, 6000.3 (LTS), 6000.4 and 6000.5
Render pipeline URP 17.0.0 Requires RenderGraph mode
Render path 3D Universal Renderer URP 2D Renderer not tested, not officially supported
Platforms Windows, Android Both built and run, with MSAA and a render scale below 1. iOS, console and VR/XR not tested
Submitted, waiting on review

Bordercraft v1.0.0 is finished and has been submitted to the Asset Store. Unity reviews every package before it can go on sale, and that takes as long as it takes — the documentation here is complete and current in the meantime. Check back or follow OwlHours for the release.

Coming Soon to Asset Store Read the docs