Search Issue Tracker

Not Reproducible

Votes

0

Found in [Package]

Issue ID

1295627

Regression

No

[URP] shader graph material renders with incorrect colors or NaNs in scene view

Package: Scriptable Render Pipeline Universal

-

Steps
1. open repro project
2. open WaterThing2 scene
3. ensure HDR = "Use Pipeline settings" on scene camera (this workaround ensures scene view uses HDR)
4. toggle "ClampAlpha0-1" on material of Water(2) Gameobject
5. check scene view vs. game view

Expected: something indicates to the user out-of-range values for alpha will give incorrect results when HDR=on
Actual: user needs to hunt for why scene view is showing incorrect colors compared to game view

Repro: 2019.4.15f1 + URP 7.5.1

workaround: if colors appear incorrectly, users can check that their shader graph master node receives values in expected range for all inputs.

Notes:
1. fix for workaround in step 3 is not yet released, see 1284369
2. no functional bug, issue here = it is not clear why the colors are broken in scene view
3. game view renders as expected (because URPAsset HDR=off)
4. even in URP versions with fix for 1284369 - it will not be clear for user that clamping is required
5. shader graph docs DO ALREADY specify the expected range, but users might not check this since it "works" in game view. see alpha = https://docs.unity3d.com/Packages/com.unity.shadergraph@7.5/manual/PBR-Master-Node.html

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.