godot-learning-shaders/shaders/000_playground/playground.gdshader
2024-12-19 14:04:09 +01:00

13 lines
No EOL
249 B
Text

shader_type spatial;
uniform float my_variable = 0.0;
void vertex() {
VERTEX.y += my_variable;
// Called for every vertex the material is visible on.
}
void fragment() {
ALBEDO = NORMAL;
// Called for every pixel the material is visible on.
}