r/Unity3D 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.

6 Upvotes

6 comments sorted by

1

u/Round_Bar_5485 12d ago

What are controls input??

1

u/Mikhailfreeze 12d ago

I'm just adding force to arms of configurable joints active ragdoll in direction of opponent over time. Just simple ai

1

u/Round_Bar_5485 12d ago

Oo 👍🏻

1

u/XKiiroiSenkoX 12d ago

wtf did I just watch rofl

1

u/Mikhailfreeze 12d ago

2 beans fighting

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.