Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question URP Outline

Discussion in 'VR' started by N00sn00s, Apr 4, 2023.

  1. N00sn00s

    N00sn00s

    Joined:
    Mar 24, 2023
    Posts:
    3
    How can I disable the URP outline shader for some objects? I separated the objects I want to outline and the ones I don't into separate layers (as it was suggested in tutorials I was using). But the shader keeps projecting onto all objects in the scene.
    How can I fix this?
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,127
    Depends on how you do the outlines. If it's a shader just put another material on it.
    If it's post processing, maybe use layers to work around it
     
    N00sn00s likes this.