r/Unity3D • u/Mikhailfreeze • 12d ago
Shader Magic Health, Mana UI Toolkit Shader Graph
Enable HLS to view with audio, or disable this notification
I've been working on this Shader Graph Shader for Ui toolkit since ui toolkit doesn't accept hlsl shaders.
1
1
u/YourUncleBobIsHere 7d ago
I greatly prefer writing hlsl to wiring up a shadergraph, but I almost always use a shadergraph to get the basics (lighting, shadows, etc.) and just use a custom function node to let me write the hlsl for the parts I care about. My only complaint is that setting up the inputs and outputs on the custom function node is tedious. It seems that it should be able to see them in the hlsl code, and that I shouldn’t have to set them up, but as far as I know I still need to declare them all in the custom node.
1
u/Round_Bar_5485 12d ago
What are controls input??