building a pure graphics pipeline version of this
This commit is contained in:
8
shaders/view_simulation.gdshader
Normal file
8
shaders/view_simulation.gdshader
Normal file
@@ -0,0 +1,8 @@
|
||||
shader_type canvas_item;
|
||||
|
||||
uniform sampler2D view_texture;
|
||||
|
||||
void fragment() {
|
||||
vec3 v = texture(view_texture, UV).rgb;
|
||||
COLOR = vec4(v, 1.0);
|
||||
}
|
||||
Reference in New Issue
Block a user