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
- Missing script error when clicking “script” link in Cave scene’s Water Sample Description
- [VFX Graph] Set Position Shape Gizmo isn't refreshed after shaper switch
- NullReferenceException is thrown when trying to access volumeStack from the HDCamera class
- Visual artifacts appear when using an Orthographic camera with a Reflection Probe
- Not all animation properties are accessible when a prefab with an avatar model contains a nested copy of itself with a renamed GameObject
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.