Search Unity

Question How to get Scene Color LODs in URP?

Discussion in 'Universal Render Pipeline' started by HouinKyouma27, May 26, 2023.

  1. HouinKyouma27

    HouinKyouma27

    Joined:
    Nov 13, 2017
    Posts:
    23
    How to get Scene Color LODs in URP? There is a LOD option on a HD Scene Color Node for HDRP which uses SampleCameraColor func, but I believe it's only available in HDRP.
     
  2. wwWwwwW1

    wwWwwwW1

    Joined:
    Oct 31, 2021
    Posts:
    769
    Hi, the HD Scene Color Node samples HDRP's color pyramid textures.

    URP doesn't generate these textures so you can only sample the Opaque Texture (no mipmaps enabled by default).

    It's possible to create color pyramid with a custom renderer feature but it may be expensive depending on your target device.
     
    HouinKyouma27 likes this.