Search Issue Tracker

By Design

Votes

0

Found in

2022.3.64f1

6000.0.52f1

6000.1.10f1

6000.2.0b8

6000.3.0a1

Issue ID

UUM-110536

Regression

No

ShaderGraph custom transparent Shader becomes opaque when HDR is enabled

-

How to reproduce:
1. Open the attached “IN-102107” project
2. Open the “DepthShadowDemo” Scene
3. Open the Inspector for the URP Asset (Assets > Settings > “URP-Performant” > Inspector)
4. Enable and disable HDR
5. Observe the result in the Scene view or Game view

Expected result: The “ShadowPlane” GameObject remains transparent when HDR is enabled
Actual result: The “ShadowPlane” GameObject becomes opaque when HDR is disabled

Reproducible with: 2022.2.0a9, 2022.3.64f1, 6000.0.52f1, 6000.1.10f1, 6000.2.0b8, 6000.3.0a1
Couldn’t test with: 2022.1.0a1, 2022.2.0a8 (Could not fix material issues from downgrading)

Reproduced on: Windows 11
Not reproduced on: No other environment tested

Note: The issue does not occur when using Unlit Draw Mode

  1. Resolution Note:

    Shader Graph and graphics rendering in general can't be entirely certain when an alpha value will exceed a 0-1 range. This can be desirable behavior in some circumstances, so we don't want to make assumptions about these values, how they are used, or modify them without the user having control. If we aggressively sanitized all values, it would also reduce performance-- so we it's up to the user to make decisions about their particular use-case.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.