Figure: Diagnostic workflow: Active renderer → Projector and receiver → Inspect decal technique
Figure: Diagnostic workflow: Active renderer → Projector and receiver → Inspect decal technique

Cause and mechanism

A decal adds a mark, such as dirt or a symbol, to a surface. If it fails on some surfaces, check the decal Renderer Feature, projection volume, receiving Shader, and rendering path. A Receive Decals checkbox is not available on every URP material, so follow the controls supported by that Shader.

Check and correct the setup

  1. Test a minimal standard decal and URP Lit setup with the feature enabled.
    Intersection of projection volume and receiving surface
    Intersection of projection volume and receiving surface
  2. Check direction, bounds, fades, draw distance, and applicable layer conditions.
    Intersection of projection volume and receiving surface
    Intersection of projection volume and receiving surface
  3. Compare supported decal techniques; inspect transparent/custom receiver support separately.
    Intersection of projection volume and receiving surface
    Intersection of projection volume and receiving surface

Limits and verification

Vary projection angle/distance and verify quality and device cost; do not transfer HDRP settings blindly.

A focused diagnostic setup

Focus on decals absent from a particular receiver rather than distortion. Place a standard Lit cube at the same location and compare with one projector.

Test in this order

  1. Failure on the cube points toward active renderer, feature or projector conditions.
    Intersection of projection volume and receiving surface
    Intersection of projection volume and receiving surface
  2. Success only on the cube points toward transparent/custom receiver compatibility and technique.
    Intersection of projection volume and receiving surface
    Intersection of projection volume and receiving surface
  3. Restore layer, fading and distance restrictions individually and retest camera movement/device output.
    Intersection of projection volume and receiving surface
    Intersection of projection volume and receiving surface

Interpret the result

Receiver visibility and overlap order are different issues. Investigate the actual URP technique instead of searching for unrelated HDRP checkboxes.

Related explanations

References