Godot Shader Tutorial (2): Animated Water and UV Coordinates

Channel:
Subscribers:
292,000
Published on ● Video Link: https://www.youtube.com/watch?v=U91nqeUe1qQ



Duration: 20:41
53,778 views
927


Learn to manipulate UV coordinates in a shader and to animate water waves with sine and cosine!
Watch part 1 first! https://youtu.be/xoyk_A0RSpI
3d water shader tutorial: https://youtu.be/vm9Sdvhq6ho
Intro to shaders playlist: http://bit.ly/intro-to-shaders-godot

Intermediate Godot 3 course: https://gdquest.mavenseed.com/courses

LINKS
Download the Free Godot project: https://github.com/GDQuest/Godot-engine-tutorial-demos
It is in the /2018/06-16-intro-to-shaders-2d-water subfolder
(you can use https://minhaskamal.github.io/DownGit to download folders from GitHub as ZIP files)

CONTENTS
00:00 intro
00:59 intro to the fragment function
02:56 visualizing UVs
04:00 texture tiling and aspect ratio
06:18 control shader from GDscript
08:25 sampling a texture with our UVs
09:58 animating pixels with the UV coordinates
11:53 animated waves with sine and cosine
13:17 scaling the waves
14:53 exporting variables to control the look of the waves

This video is supported by:
- Gamblify: https://www.gamblify.com/
- Pineapple Works: http://pineapple.works/
- Echo86: http://www.echo86.com/
Subscribe for more tutorials! https://youtube.com/c/Gdquest?sub_confirmation=1

Twitter ► https://twitter.com/NathanGDquest

Instagram ► https://www.instagram.com/nathan_gdquest/

This video is licensed under the CC-By 4.0 license: https://creativecommons.org/licenses/by/4.0/

You can attribute it to "GDQuest and contributors - https://www.gdquest.com/"







Tags:
godot 3 shader tutorial
shader tutorial godot
godot shader
uv coordinates
water shader
shaderscript
godot shaders
godot 3 shader
godot game engine
godot 3 shaders
UVs
shader scripting
sine wave
periodic function
game development tutorial
2d shader
godot engine tutorial 2d
shader programming
shader tutorial
godot engine
shader programming tutorial
shader programming opengl
game development