mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 11:05:34 +00:00
115 lines
3.3 KiB
Text
115 lines
3.3 KiB
Text
[gd_resource type="VisualShader" load_steps=11 format=3 uid="uid://cjdl1m3psohju"]
|
|
|
|
[sub_resource type="VisualShaderNodeFloatOp" id="VisualShaderNodeFloatOp_7rr75"]
|
|
default_input_values = [0, 0.0, 1, 5.0]
|
|
operator = 2
|
|
|
|
[sub_resource type="VisualShaderNodeFloatOp" id="VisualShaderNodeFloatOp_own43"]
|
|
|
|
[sub_resource type="VisualShaderNodeInput" id="VisualShaderNodeInput_stwjs"]
|
|
input_name = "uv"
|
|
|
|
[sub_resource type="VisualShaderNodeVectorDecompose" id="VisualShaderNodeVectorDecompose_kafk8"]
|
|
default_input_values = [0, Vector2(0, 0)]
|
|
op_type = 0
|
|
|
|
[sub_resource type="VisualShaderNodeFloatOp" id="VisualShaderNodeFloatOp_4ci11"]
|
|
default_input_values = [0, 0.0, 1, 100.0]
|
|
operator = 2
|
|
|
|
[sub_resource type="VisualShaderNodeFloatFunc" id="VisualShaderNodeFloatFunc_5vgt5"]
|
|
function = 0
|
|
|
|
[sub_resource type="VisualShaderNodeInput" id="VisualShaderNodeInput_xwcy1"]
|
|
input_name = "texture"
|
|
|
|
[sub_resource type="VisualShaderNodeTexture" id="VisualShaderNodeTexture_c5icc"]
|
|
output_port_for_preview = 0
|
|
expanded_output_ports = [0]
|
|
source = 5
|
|
|
|
[sub_resource type="VisualShaderNodeMix" id="VisualShaderNodeMix_6sm8i"]
|
|
|
|
[sub_resource type="VisualShaderNodeInput" id="VisualShaderNodeInput_81ys3"]
|
|
input_name = "time"
|
|
|
|
[resource]
|
|
code = "shader_type canvas_item;
|
|
render_mode blend_mix;
|
|
|
|
|
|
|
|
|
|
void fragment() {
|
|
vec4 n_out7p0;
|
|
// Texture2D:7
|
|
n_out7p0 = texture(TEXTURE, UV);
|
|
float n_out7p4 = n_out7p0.a;
|
|
|
|
|
|
// Input:2
|
|
vec2 n_out2p0 = UV;
|
|
|
|
|
|
// VectorDecompose:3
|
|
float n_out3p0 = n_out2p0.x;
|
|
float n_out3p1 = n_out2p0.y;
|
|
|
|
|
|
// FloatOp:4
|
|
float n_in4p1 = 100.00000;
|
|
float n_out4p0 = n_out3p1 * n_in4p1;
|
|
|
|
|
|
// Input:9
|
|
float n_out9p0 = TIME;
|
|
|
|
|
|
// FloatOp:10
|
|
float n_in10p1 = 5.00000;
|
|
float n_out10p0 = n_out9p0 * n_in10p1;
|
|
|
|
|
|
// FloatOp:11
|
|
float n_out11p0 = n_out4p0 + n_out10p0;
|
|
|
|
|
|
// FloatFunc:5
|
|
float n_out5p0 = sin(n_out11p0);
|
|
|
|
|
|
// Mix:8
|
|
float n_in8p2 = 0.50000;
|
|
float n_out8p0 = mix(n_out7p4, n_out5p0, n_in8p2);
|
|
|
|
|
|
// Output:0
|
|
COLOR.a = n_out8p0;
|
|
|
|
|
|
}
|
|
"
|
|
mode = 1
|
|
flags/light_only = false
|
|
nodes/fragment/0/position = Vector2(2520, 280)
|
|
nodes/fragment/2/node = SubResource("VisualShaderNodeInput_stwjs")
|
|
nodes/fragment/2/position = Vector2(60, 240)
|
|
nodes/fragment/3/node = SubResource("VisualShaderNodeVectorDecompose_kafk8")
|
|
nodes/fragment/3/position = Vector2(560, 280)
|
|
nodes/fragment/4/node = SubResource("VisualShaderNodeFloatOp_4ci11")
|
|
nodes/fragment/4/position = Vector2(880, 440)
|
|
nodes/fragment/5/node = SubResource("VisualShaderNodeFloatFunc_5vgt5")
|
|
nodes/fragment/5/position = Vector2(1760, 360)
|
|
nodes/fragment/6/node = SubResource("VisualShaderNodeInput_xwcy1")
|
|
nodes/fragment/6/position = Vector2(480, 1300)
|
|
nodes/fragment/7/node = SubResource("VisualShaderNodeTexture_c5icc")
|
|
nodes/fragment/7/position = Vector2(1200, 1160)
|
|
nodes/fragment/8/node = SubResource("VisualShaderNodeMix_6sm8i")
|
|
nodes/fragment/8/position = Vector2(2040, 860)
|
|
nodes/fragment/9/node = SubResource("VisualShaderNodeInput_81ys3")
|
|
nodes/fragment/9/position = Vector2(300, 660)
|
|
nodes/fragment/10/node = SubResource("VisualShaderNodeFloatOp_7rr75")
|
|
nodes/fragment/10/position = Vector2(880, 800)
|
|
nodes/fragment/11/node = SubResource("VisualShaderNodeFloatOp_own43")
|
|
nodes/fragment/11/position = Vector2(1360, 480)
|
|
nodes/fragment/connections = PackedInt32Array(2, 0, 3, 0, 3, 1, 4, 0, 6, 0, 7, 2, 7, 4, 8, 0, 5, 0, 8, 1, 8, 0, 0, 1, 9, 0, 10, 0, 4, 0, 11, 0, 10, 0, 11, 1, 11, 0, 5, 0)
|