Table of Contents

🔳 CosterGraphics.Systems.OutlineSystem


🏒 OutlineSystem Renderer Features' Render Passes Overview


Render Graph Viewer Showing the execution order of the built-in URP Render Passes and the Outline3DRenderFeatureBasic's Color, Depth, Normals and Composite Render Passes.

Render Passes are like the "🔪prep cooks" in the Outline System's kitchen analogy. They generate the texture masks (the outline ingredients) that your Composite Shaders use to create the final outlines. Each pass runs in sequence during the URP Render Graph execution, producing textures off-screen for sampling in the Full-Screen Shader Graph Final-Composite shaders.

ℹ️ How Render Passes Work

  • Purpose: Collecting data from 🔳Outline3D objects (e.g., silhouettes, depths, normals) into textures.
  • Execution: Passes are enqueued conditionally based on the Composite Shader's needs.
  • Types: Mask passes (generate data), Intermediate/Composite passes (process/finalize data).
  • Performance: Mask and Intermediate Passes Only run when required by the Composite pass. Higher tiers add more passes for increased complexity and flexibility.

📋 List of Render Passes

The OutlineSystem includes the following passes, organized by tier. Click for details.

🎭 Mask Passes (Generate Textures)

🔁 Intermediate Passes (Process Data)

🖼️ Final Composite Pass

🏒🧜‍♂️ Outline3DRenderFeature Render Pass Flow Diagram

---
config:
    theme: dark
---

flowchart TD
    A(⬜ Color Mask Pass)
    B(🧱 Depth-Tested Color Mask Pass)
    C(📸 Camera Color Copy Pass)
    D(⬛Depth/🟦Normals/🪪ObjectID Mask Passes)
    E(🌱 JFA Seeds Passes)
    F(🦘 JFA Flood Fill Passes)
    G(🖼️ Final Outline Composite Pass)

    A --> B
    B --> C
    C --> D
    D --> E
    E --> F
    F --> G

⭐ OutlineSystem Tier Usage

  • 🧑‍🎨Outline3DRenderFeatureSimple: Color Mask + Depth Tested Color Mask + Final Composite Render Passes.
  • 🧑‍🎨🧑‍🎨Outline3DRenderFeatureBasic: Adds Depth/Normals/UV Mask Render Passes.
  • 🧑‍🎨🧑‍🎨🧑‍🎨Outline3DRenderFeatureAdvanced: Adds Object ID Mask Pass.
  • 🧑‍🎨🧑‍🎨🧑‍🎨🧑‍🎨Outline3DRenderFeaturePro: Adds JFA (Jump Flood Algorithm) Render Passes for advanced effects.

For setup, see Renderer Features. Questions? Check Troubleshooting.