Search Unity

Question Help with 2D URP Sprite Shader Dual Pass

Discussion in 'Universal Render Pipeline' started by MatteoMazzeriBlasph, Apr 14, 2021.

  1. MatteoMazzeriBlasph

    MatteoMazzeriBlasph

    Joined:
    Jan 4, 2019
    Posts:
    12
    Hi everyone,

    I try to create an outline shader using a double pass shader, first pass for outline and second pass for rendering the sprite in front of the outline.
    I manage to make it work in SRP but with URP it's seems that the dual pass shader is not supported. Like if there is only one pass working and the second one not.

    Do you have some suggest how can I do it?

    Second question. Do you know how I can find a template to start create the right urp shader? I'm using the one you can find in Universal Rendering Pipline/2D/Sprite-Lit-Default but maybe there is a better one to start working with

    Thank you