Godot Shader Tutorial (1): Intro to Shader Programming

preview_player
Показать описание
Get a solid introduction to shaders in both 2d and 3d in this Free tutorial series! Made in collaboration with Baastian Olij.

LINKS
It is in the /2018/06-16-intro-to-shaders-2d-water subfolder

CONTENTS
00:00 Baastian intro
00:26 Project overview
01:55 Setting up project
03:43 Saving shaders on the disk
04:21 Writing shader template code
05:19 Vertex shader explanation
06:11 Animating vertices with VERTEX
07:59 Moving in a circle
09:18 Randomize the animation per vertex
10:11 Exporting variables with uniforms
12:22 Edit exported variables in your material
13:31 Create a UI widget to control the shader
18:19 Control your shader with GDscript

This video is supported by:

Рекомендации по теме
Комментарии
Автор

Oh! now I understand, finallly. Thank you very much! May God bless you and your family!

RodrigoNishino
Автор

19:15 "material" doesn't work now (3.1.1). Have to write "self.material"

metalim
Автор

Thank you so much. This video was a HUGE help! It sort of just made some things click for me that I wasn't understanding about shaders.

keithwinget
Автор

A bit of (I hope) constructive criticism. The tutorial is about shaders, but you spend most of the time building a (very simple) interface to just use the shader.

bruno-brant
Автор

This is what I'm looking for! Thanks

astwyr
Автор

Thank you for another great video and initiative !

Bananeisafree
Автор

this is... haard...
i think some more introductory stuff like dealing with color and alpha would be more easy to grasp

Oxtorayk
Автор

Do you not get long term instability from doing adds like this

michaelmoran
Автор

I engineered a boat with cosine waves.

chickeninabox
Автор

I really wonder if and when Godot will have shader nodes (like Blender nodes or Godot visual scripting) for those of us who don't want to code in GLSL. I could have sworn I saw a shader node editor long ago, but for the older version of Godot.

MirceaKitsune
Автор

When trying to save the shader, it fails and shows a warning: "This resource can't be saved because it does not belong to the edited scene. Make it unique first."

Arklte
Автор

Is it possible to somehow give the shader a dynamic set of values? (for example positions of certain objects so that the shader could create some kind of ripples etc)

bobus_mogus
Автор

can one add a noise shader to a Light2D to simulate the small particles of dust in the air ( or equivelant ) ? thanks

mrstevens
Автор

А на каком языке пишуться эти шейдеры? Немного напомнило С++, нет?
What language are these shaders written in? Slightly reminded C ++, no?

КОД-шу
Автор

Seems so convoluted be to change timer and amplitude by drilling down into Materials. Is there a simple way to expose the shader uniforms vars in the properties of DancingGodot inspector

wyattbiker
Автор

How to save the material/shader resources in godot 3.1 ?

TheGruselmops
Автор

Somehow my preview rendering is iterating much slower than yours. Did I miss someting?

HunterR
Автор

Is this a good methode for huge bodies of water? (think top down oceans)

TheCivildecay
Автор

A pronúncia "certa" é 'perfórmances'.

thiagooliveira
visit shbcf.ru