Somebody explain shaders?

OK, so i tought saders where just a animated texture you put on a material. Then, I saw this :

I’m trying to make cool looking spells for my game, and this video really inspired me. But I’m struggling with shaders.

How can you put effects in the air? How can you achieve such shapes with them?
What is the difference between shader and shader graphs?

First you need some surface, to render shader material on it.
Think as of animating a bullet. Now trying applying glow to it. You see similar case example from 3:00 min.
All are objects, typically planes in this case. And in fact there is no really moving bullet in this case, but planar mesh, on which shader is rendered.

Now you need apply shader to materials.
If you don’t know how to program shaders by hand, that is why you can use Shader Graph. It will allow you to create effects graphically.
But then you may want extra effects and all that fancy stuff.

I suggest, get a give a go with Shader Graph and see where you can get yourself with it.

1 Like

OK, so in the exemple, it’s all done by transparent objects and shaders?
Are there any textures used? The effects on the ground, it is drawn on something put above the ground?

They can, but doesn’t have to. These can be generated procedural, which require some math understanding.

Anyway, I suggest hop on on related forum for shader graph
https://forum.unity.com/forums/shader-graph.346/

Then read through
** Shader Graph Resources **

1 Like

Thanks a lot, I’ll try some things out when I’ll be home.
Hopefully it will look good!