Search Issue Tracker
By Design
Votes
0
Found in [Package]
14.0.2
Issue ID
1399379
Regression
No
Shader Graph Sample Texture 2D preview is incorrect when the image has transparency
Reproduction steps:
1. Open the user's attached project "ShaderGraph2D.zip"
2. Open TestShader.shadergraph from the Project window
Expected result: The Sample Texture 2D preview looks the same as the image
Actual result: The image in the preview looks like the colors have expanded
Reproducible with: 7.7.1 (2019.4.37f1), 10.8.1 (2020.3.32f1), 12.1.6 (2021.2.19f1), 13.1.7 (2022.1.0b15), 14.0.2 (2022.2.0a9)
Note: The Main Preview will look the same as the Sample Texture 2D preview if the A(1) of the node is not connected to the Alpha(1) of the Fragment node
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
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
Resolution Note:
This is by design because there is a large performance hit to have more accurate previews for texture sampling. As a work around be sure to review your shader within the scene view.