mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 09:35:34 +00:00
Upgrade to godot 4.6
This commit is contained in:
parent
b9c15fea3f
commit
d16f9b3b9d
71 changed files with 306 additions and 506 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="VisualShader" load_steps=11 format=3 uid="uid://cjdl1m3psohju"]
|
||||
[gd_resource type="VisualShader" format=3 uid="uid://cjdl1m3psohju"]
|
||||
|
||||
[sub_resource type="VisualShaderNodeFloatOp" id="VisualShaderNodeFloatOp_7rr75"]
|
||||
default_input_values = [0, 0.0, 1, 5.0]
|
||||
|
|
@ -35,61 +35,6 @@ input_name = "time"
|
|||
|
||||
[resource]
|
||||
resource_local_to_scene = true
|
||||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue