How to make a Wavy Text shader in Godot in under 3 minutes

Поділитися
Вставка
  • Опубліковано 10 вер 2024
  • Learn how to make wavy text in Godot. Here's the shader code used in the tutorial:
    shader_type canvas_item;
    uniform float height = 3.0;
    uniform float frequency = 20.0;
    uniform float speed = 3.0;
    void vertex() {
    VERTEX.y += height * sin((frequency * UV.x) + (speed * TIME));
    }

КОМЕНТАРІ • 19