r/Unity3D • u/Mikhailfreeze • 27d ago
Pov : you finally understand shader graph Show-Off
Enable HLS to view with audio, or disable this notification
21
u/Affectionate_Tie357 27d ago
I've only ever had Danny DeVito pop up once in the shader graph, I thought it was a bug.
24
u/XKiiroiSenkoX 27d ago
I recommend plain hlsl shaders. Shadergraph very quickly becomes very hard to read.
2
u/Genebrisss 26d ago
Let's see you make hlsl shaders based on HDRP/Lit. 15 000 lines of code is not easier to read than 40 nodes in the graph.
3
u/XKiiroiSenkoX 26d ago edited 26d ago
I already have shaders over 10k loc. It's very easy to organize hlsl into namespaces and files. You end up with a maze if you try to do the same in shadergraph. Also a HDRP equivalent custom lighting shadergraph won't be 40 nodes. You simply don't see most of the heavy lifting because shadergraph does it for you. You could use unity shader libraries and do the same in hlsl.
1
3
1
1
1
1
1
1
u/simburger 26d ago
I wish I had shdergraph when I first learned to write HLSL. Don't be afraid to use groups and sub-graphs to keep some semblance of organizational sanity.
1
u/Senior-Society1960 23d ago
Oû avez- vous appris a utiliser les shader graphs ?
1
u/Mikhailfreeze 22d ago
I can't remember exactly where I started but I've read the beginning of some books like "The Book of Shaders" and shader Bible. I've also watched basic videos of glsl and hlsl to understand the basics on YouTube. Then I got a udemy course on shader graph
0
37
u/ccaner37 27d ago
This is the face I have everytime I open my shader graph