Using bezier curve to offset vertices in material unreal

Hi. I recently watched the Ghost of Tsushima GDC where they explained how they rendered grass in the game using a Bezier curve to procedurally generate grass within a shader. I understand the math and everything behind it but I don’t know how I would go implementing such a thing in the material editor. How should I go about writing a Bezier function within the material editor?

Any good?

3 Likes