Search Issue Tracker
By Design
Votes
1
Found in [Package]
5.6.1
Issue ID
1114216
Regression
No
Pink spots appear in the Power node when connecting Gradient Noise and Power nodes in the Shader Graph
How to reproduce:
1. Create a new project
2. Import Shader Graph package
3. Create PBR Graph (right-click in the Assets tab -> Create -> Shader -> PBR graph) and double click on it to open in Shader Graph
4. Create 'Gradient Noise' and 'Power' nodes and connect Gradient Noise Out(1) output with Power A(1) input
Expected result: No pink spots in the Power node
Actual result: Pink spots appear in the Power node
Reproducible: 2018.3.8f1, 2019.1.0b6, 2019.2.0a7
Can't reproduce: 2018.3.0a1 - 2018.3.0b2, 2019.1.0a1- 2019.1.0a12, because of missing PBR graph or damaged nodes
-
elesssar
Dec 13, 2023 07:12
Gradient Noise node outputs a value between 0 and 1. How can a power of the value be a NaN value?
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
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
Resolution Note:
These pink spots are Not a Number (NaN) values. In Shader Graph we display them as pink in the previews so the user is aware of them. As a workaround, you can clamp the values by yourself. In this case a Saturate node (clamps input between 0 and 1) between the noise and power nodes should resolve the issue.