Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Feature Request How can I make a render feature that writes to camera depth texture?

Discussion in 'Universal Render Pipeline' started by rostykul, May 20, 2022.

  1. rostykul

    rostykul

    Joined:
    Oct 9, 2018
    Posts:
    21
    The Render Objects (Experimental) feature seems to only write to the depth buffer, not camera depth texture. Is there any way I can modify or make a render feature that can overwrite the material of a layer group and let it write to the depth buffer AND camera depth texture? I'm asking so that effects like SSAO which use camera depth texture can pick up the objects rendered by the feature.