Search Issue Tracker
By Design
Votes
2
Found in [Package]
preview-1.1.1, 7.1.6
Issue ID
1199400
Regression
No
Main Preview in Shader Graph appears different from Material in Game View when using PBR Shader Graph "Scene Depth" Node
How to reproduce:
1. Open the attached project's "case_1199400-Project.zip" Scene labeled "SampleScene"
2. Open the "New Shader Graph" in Assets folder from the Project Window
3. Inspect the Main Preview in Shader Graph
4. Inspect the Game View
Expected result: Material in Game View and Shader Graph Main Preview look the same
Actual result: Material differs in Game View and Shader Graph Main Preview
Reproducible with: 2018.4.13f1 (preview-.1.1.1, 4.1.0), 2019.2.15f1 (6.9.0, 6.9.2), 2019.3.0f1, 2020.1.0a15 (7.1.1, 7.1.6)
Couldn't test with: 2017.4.35f1 (Package Manager does not exist)
Note: GameObject with PBR Shader Graph Material which has Scene Depth Node connected to Master Node's Alpha channel is rendered behind everything else
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Node information is briefly displayed in Graph Inspector when clicking on Category in the Blackboard
- Module installation fails with "Download failed: Validation Failed" errors when using beta.2 Hub version
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Shader Graph Category dropdown cannot be expanded/collapsed when clicking on the text
- Different text alignment in the column header in Entities "System" window
Resolution Note:
There is no idea of any scene data in the preview window - the current scene depth is drawn to show that the node is in fact doing something, but it is not expected to match the game view directly. We would like to have better messaging in the future that scene data cant be reflected in the ShaderGraph previews, but works as expected for now.