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.
  2. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

Feature Request API for changing depth/stencil buffer precision

Discussion in 'Universal Render Pipeline' started by Kichang-Kim, Dec 8, 2021.

  1. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    930
    Hi. Current URP's Universal Renderer has hard-coded constant

    k_DepthStencilBufferBits = 32;

    for its camera target descriptor. So you can't change it.

    But some platforms has performance-degradation with 32bit Z buffer + Stencil, so I requests that API for changing this value.

    Thanks.