29 lines
609 B
Plaintext
29 lines
609 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;
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
void fragment() {
|
||
|
|
// Input:2
|
||
|
|
vec4 n_out2p0 = COLOR;
|
||
|
|
|
||
|
|
|
||
|
|
// Output:0
|
||
|
|
COLOR.rgb = vec3(n_out2p0.xyz);
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
"
|
||
|
|
graph_offset = Vector2(-496.091, 53.946)
|
||
|
|
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)
|