Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Using HDRP correctly (performance + optimization)

Discussion in 'Graphics Dev Blitz Day 2023 - Q&A' started by sammygon21, May 24, 2023.

?

Should Unity provide template HDRP projects (even base almost empty) to us users/developers?

  1. Yes

    83.3%
  2. No

    0 vote(s)
    0.0%
  3. They already do

    16.7%
  1. sammygon21

    sammygon21

    Joined:
    Nov 6, 2021
    Posts:
    4
    Hello,

    So, I've tried using HDRP various times. Each time I've encountered performance issues even with an almost empty scene. Those issues appear when using features such as AO, Raytracing, Reflections, and other overrides.

    What process and settings do you recommend so that our projects remain "performant" (provided that my workstation/pc is a pretty good setup) without having to not use overrides that help with achieving realistic looks? Also, you could provide us with template or base projects that already have a good starting point for developers to use so that settings and tools are used correctly, based on your intended use for it.
     
  2. SebLagarde

    SebLagarde

    Unity Technologies

    Joined:
    Dec 30, 2015
    Posts:
    934
    Hi,

    We could recommend you to read the ebbok: https://resources.unity.com/games/hdrp-guide - The definitive guide to lighting in the High Definition Render Pipeline (HDRP) which contain a lot of information about how to setup scene for production usage.

    HDRP haven't been optimize for empty scene. There is an entry cost due to the various features enabled by default. HDRP have been design for scaling with lot of content. So for example having 10 lights or 50 or 100 isn't causing a large difference. But just having a single light have an important entry cost.

    Hope this information help.
     
  3. SebLagarde

    SebLagarde

    Unity Technologies

    Joined:
    Dec 30, 2015
    Posts:
    934
    Note that Unity provide a template with a small scene (that is used as example in the Ebook) but also an empty template. We are sadly not able to provide a template which fit all scenario, the template we provide are for an average game on PC