Vertex Shaders in custom nodes?

I’ve been reading these great series for c++ programmers who work on rendering:

I’m starting to miss the point of them…

Can we create a simple vertex shader assigned to a material the same way unity does?
I’ve been told 99% of fragment shaders (aka pixel shaders but wrong name) can be done via the Material Editor… can we create vertex shaders too ?


You can’t create a vertex shader in material editor, but you can force a part of material graph to be calculated in vertex shader by using vertex interpolator material expression.

I received a different comment from somebody else who says I actually CAN add vertex shader code to a custom node… (not optimized, though).


It’s as optimized as any shader code. It’s just don’t have any materialeditor special optimizations. Like precalculations for dynamic parameters.