Godot 4: Vertex manipulation with a visual shader (tutorial)

Опубликовано: 05 Октябрь 2024
на канале: FencerDevLog
2,237
64

📖 Godot 4 book: https://filiprachunek.gumroad.com/l/g...
💡 Get exclusive content on Patreon:   / fencerdevlog  
🚀 Space Shooter tutorial:    • Godot 4 Tutorial: From zero to full g...  
🖥️ Space Shooter source code: https://github.com/FilipRachunek/spac...

#godot #godot4 #godotengine #shaders

Hi again, friends of visual shaders! Maybe you remember that in previous videos that dealt with this topic, we were working only with fragments, and we were setting only the final color for pixels. This time, we'll finally get to a no less important function, which is responsible for modifying vertices and subsequently deforming the entire texture that the shader is applied to. As an example, I chose the implementation of a flag that ripples in the wind.