first
This commit is contained in:
commit
b97b3a9ae4
79 changed files with 1729 additions and 0 deletions
8
exo1/shaders/exo1_zexemples_jolies/plasma.gdshader
Normal file
8
exo1/shaders/exo1_zexemples_jolies/plasma.gdshader
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
shader_type canvas_item;
|
||||
|
||||
void fragment() {
|
||||
vec2 uv = UV;
|
||||
float v = sin(uv.x * 10.0 + TIME) + sin(uv.y * 10.0 + TIME) + sin((uv.x + uv.y) * 10.0 + TIME);
|
||||
float c = (sin(v) + 1.0) / 2.0;
|
||||
COLOR = vec4(vec3(c, c * 0.5, 1.0 - c), 1.0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue