Search Unity

Resolved Does decal layers work?

Discussion in 'High Definition Render Pipeline' started by xVergilx, Jan 17, 2023.

  1. xVergilx

    xVergilx

    Joined:
    Dec 22, 2014
    Posts:
    3,296
    So, I've:
    - Enabled Decal Layers in HDRP settings;
    - Set decal projectors' decal layer to the separate specific one.
    - Checked MeshRenderer that it does not have that layer;
    - Decal is still rendered as an overlay on top of everything.

    This is using HDRP v12.1.7;
    Is it broken, or am I missing something?
     
    Last edited: Jan 17, 2023
  2. mgeorgedeveloper

    mgeorgedeveloper

    Joined:
    Jul 10, 2012
    Posts:
    327
    Did you enable decal layers in the Frame Settings? Enabling it in the HDRP asset is one thing, but you also need to enable it in the default frame settings, or in the override frame settings of a camera.
     
    chap-unity and xVergilx like this.
  3. xVergilx

    xVergilx

    Joined:
    Dec 22, 2014
    Posts:
    3,296
    Right, I've completely forgot about global settings. Which is a separate asset in /HDRPDefaultResources.

    Thank you.