building a pure graphics pipeline version of this
This commit is contained in:
7
slime_simulation_cs/show_simulation_cs.gdshader
Normal file
7
slime_simulation_cs/show_simulation_cs.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