first examples
This commit is contained in:
parent
a01a7a7acc
commit
2219e943da
33 changed files with 785 additions and 6 deletions
13
shaders/000_playground/playground.gdshader
Normal file
13
shaders/000_playground/playground.gdshader
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
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.
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue