first commit
This commit is contained in:
12
GodotRetro/Object Shaders/Debug/helloworld-2d.shader
Executable file
12
GodotRetro/Object Shaders/Debug/helloworld-2d.shader
Executable file
@@ -0,0 +1,12 @@
|
||||
//SHADER GRABED FROM THE BOOK OF SHADERS
|
||||
//PORTED AND MODIFYED TO GODOT BY AHOPNESS (@ahopness)
|
||||
//LICENSE : CC0
|
||||
//SHADERTOY LINK : https://thebookofshaders.com/edit.php#03/space.frag
|
||||
|
||||
shader_type canvas_item;
|
||||
|
||||
void fragment(){
|
||||
vec2 st = UV;
|
||||
vec4 final = vec4(st.x, st.y, 0.0, 1.0);
|
||||
COLOR = final;
|
||||
}
|
||||
Reference in New Issue
Block a user