Search Issue Tracker

Duplicate

Votes

1

Found in [Package]

4.10.0 - 8.0.0

Issue ID

1218948

Regression

No

AlphaClipTreshold does not update after connecting nodes to Master's Alpha input if AlphaClipTreshold's initial value was <= 0

Package: Shader Graph

-

How to reproduce:
1. Create a new URP/HDRP project
2. Create a new PBR Graph
3. Set the AlphaClipTreshold value in the Master node to 0 or less
4. Create a Checkerboard node and connect it to the Master's Alpha input
5. Change the AlphaClipTreshold value

Expected result: The preview node changes revealing the cut-out checkerboard pattern
Actual result: The changes to the AlphaClipTreshold value are ignored

Reproducible with: 2018.4.17f1, 2019.3.1f1, 2020.1.0a23
Could not test with: 2017.4.37f1(No PackageManager)

Package versions tested: 4.10.0, 7.1.1, 7.2.0, 8.0.0

Workaround: Attaching a Vector1 node to AlphaClipTreshold. Alternatively, disconnecting the input from AlphaClipTreshold port, setting AlphaClipTreshold to > 0 and reconnecting the Alpha input

Notes:
1. Reproducible with HDRP and URP
2. Reproducible on Mac(Tested with 2019.3.1f1 and SG 7.2.0)
3. Tested with Unlit and PBR graphs

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.