27 lines
348 B
Plaintext
27 lines
348 B
Plaintext
[gd_resource type="Shader" format=3 uid="uid://hr8vdp56p4yo"]
|
|
|
|
[resource]
|
|
code = "shader_type canvas_item;
|
|
render_mode blend_mix;
|
|
|
|
uniform sampler2D void_view;
|
|
|
|
|
|
|
|
void fragment() {
|
|
// Input:4
|
|
vec2 n_out4p0 = SCREEN_UV;
|
|
|
|
|
|
vec4 n_out2p0;
|
|
// Texture2D:2
|
|
n_out2p0 = texture(void_view, n_out4p0);
|
|
|
|
|
|
// Output:0
|
|
COLOR.rgb = vec3(n_out2p0.xyz);
|
|
|
|
|
|
}
|
|
"
|