Search Issue Tracker
Feature Request
Votes
0
Found in [Package]
15.0.0
Issue ID
SGB-488
Regression
No
[ShaderGraph] Voronoi output can not be used directly for Colorspace Conversion
Steps to reproduce :
- In a shadergraph, do the nodes setup as bellow :
!image-2023-03-10-19-05-09-708.png!
Expected : Both Colorspace Conversion nodes should display the same preview
Result : HSV -> RGB conversion only works if some nodes are placed between the Voronoi and Conversion. Multiple combinations are possible.
Notes :
While adding an operation in between the nodes fixes the preview, it is not enough to fix the final rendering of the shader on an object :
!image-2023-03-10-19-19-23-556.png!
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 an awkward side-effect of how preview code gen differs from the final shader code gen. Some sanitization and value normalization occurs to make sure the outputs of a preview provide meaningful feedback in a color range.
In this case-- if you were to saturate and then normalize the voronoi node output, it would then work with the colorspace conversion node. The Contrast, Saturation, and Hue nodes can also be used to translate the voronoi output in a few different ways.
This speaks to a larger need to improve support for HSV and maybe have better documentation on what a node's expected output ranges are. I'm marking this as a feature request, as it speaks to a few less intentionally designed pieces of the tool leaving a user with unclear feedback.