30 lines
592 B
Plaintext
30 lines
592 B
Plaintext
[gd_resource type="VisualShader" load_steps=2 format=3 uid="uid://bwjioe14xggin"]
|
|
|
|
[sub_resource type="VisualShaderNodeInput" id="VisualShaderNodeInput_i5j4e"]
|
|
output_port_for_preview = 0
|
|
input_name = "color"
|
|
|
|
[resource]
|
|
code = "shader_type canvas_item;
|
|
render_mode blend_mix;
|
|
|
|
|
|
|
|
|
|
void fragment() {
|
|
// Input:2
|
|
vec4 n_out2p0 = COLOR;
|
|
|
|
|
|
// Output:0
|
|
COLOR.rgb = vec3(n_out2p0.xyz);
|
|
|
|
|
|
}
|
|
"
|
|
mode = 1
|
|
flags/light_only = false
|
|
nodes/fragment/2/node = SubResource("VisualShaderNodeInput_i5j4e")
|
|
nodes/fragment/2/position = Vector2(-60, 180)
|
|
nodes/fragment/connections = PackedInt32Array(2, 0, 0, 0)
|