Do it from ground up like normal
by copying a tutorial/demo
This commit is contained in:
7
show_simulation.gdshader
Normal file
7
show_simulation.gdshader
Normal file
@@ -0,0 +1,7 @@
|
||||
shader_type canvas_item;
|
||||
uniform sampler2D trail_tex;
|
||||
|
||||
void fragment() {
|
||||
float v = texture(trail_tex, UV).r;
|
||||
COLOR = vec4(vec3(v), 1.0);
|
||||
}
|
||||
Reference in New Issue
Block a user