185 lines
4.5 KiB
Plaintext
185 lines
4.5 KiB
Plaintext
|
[gd_scene load_steps=18 format=2]
|
||
|
|
||
|
[ext_resource path="res://FranticFactoryLogo.png" type="Texture" id=1]
|
||
|
|
||
|
[sub_resource type="VisualShaderNodeInput" id=6]
|
||
|
input_name = "color"
|
||
|
|
||
|
[sub_resource type="VisualShaderNodeColorOp" id=7]
|
||
|
output_port_for_preview = 0
|
||
|
operator = 2
|
||
|
|
||
|
[sub_resource type="VisualShaderNodeScalarFunc" id=8]
|
||
|
output_port_for_preview = 0
|
||
|
function = 0
|
||
|
|
||
|
[sub_resource type="VisualShaderNodeScalarOp" id=9]
|
||
|
|
||
|
[sub_resource type="VisualShaderNodeScalarFunc" id=10]
|
||
|
output_port_for_preview = 0
|
||
|
function = 12
|
||
|
|
||
|
[sub_resource type="VisualShaderNodeScalarOp" id=11]
|
||
|
default_input_values = [ 0, 0.0, 1, 0.15708 ]
|
||
|
operator = 2
|
||
|
|
||
|
[sub_resource type="VisualShaderNodeInput" id=12]
|
||
|
input_name = "time"
|
||
|
|
||
|
[sub_resource type="VisualShaderNodeInput" id=13]
|
||
|
input_name = "screen_uv"
|
||
|
|
||
|
[sub_resource type="VisualShaderNodeScalarOp" id=14]
|
||
|
operator = 1
|
||
|
|
||
|
[sub_resource type="VisualShaderNodeVectorDecompose" id=15]
|
||
|
|
||
|
[sub_resource type="VisualShaderNodeScalarOp" id=16]
|
||
|
|
||
|
[sub_resource type="VisualShaderNodeScalarFunc" id=17]
|
||
|
function = 17
|
||
|
|
||
|
[sub_resource type="VisualShaderNodeScalarOp" id=18]
|
||
|
output_port_for_preview = 0
|
||
|
default_input_values = [ 0, 0.0, 1, 0.33 ]
|
||
|
operator = 9
|
||
|
|
||
|
[sub_resource type="VisualShaderNodeScalarOp" id=19]
|
||
|
default_input_values = [ 0, 0.0, 1, 20.0 ]
|
||
|
operator = 2
|
||
|
|
||
|
[sub_resource type="VisualShader" id=20]
|
||
|
code = "shader_type canvas_item;
|
||
|
|
||
|
|
||
|
|
||
|
void vertex() {
|
||
|
// Output:0
|
||
|
|
||
|
}
|
||
|
|
||
|
void fragment() {
|
||
|
// Input:10
|
||
|
vec3 n_out10p0 = COLOR.rgb;
|
||
|
|
||
|
// Input:3
|
||
|
vec3 n_out3p0 = vec3(SCREEN_UV, 0.0);
|
||
|
|
||
|
// VectorDecompose:5
|
||
|
float n_out5p0 = n_out3p0.x;
|
||
|
float n_out5p1 = n_out3p0.y;
|
||
|
float n_out5p2 = n_out3p0.z;
|
||
|
|
||
|
// ScalarOp:4
|
||
|
float n_out4p0 = n_out5p0 - n_out5p1;
|
||
|
|
||
|
// ScalarOp:9
|
||
|
float n_in9p1 = 20.00000;
|
||
|
float n_out9p0 = n_out4p0 * n_in9p1;
|
||
|
|
||
|
// Input:2
|
||
|
float n_out2p0 = TIME;
|
||
|
|
||
|
// ScalarOp:15
|
||
|
float n_in15p1 = 0.15708;
|
||
|
float n_out15p0 = n_out2p0 * n_in15p1;
|
||
|
|
||
|
// ScalarFunc:12
|
||
|
float n_out12p0 = sin(n_out15p0);
|
||
|
|
||
|
// ScalarOp:13
|
||
|
float n_out13p0 = n_out2p0 + n_out12p0;
|
||
|
|
||
|
// ScalarOp:6
|
||
|
float n_out6p0 = n_out9p0 + n_out13p0;
|
||
|
|
||
|
// ScalarFunc:7
|
||
|
float n_out7p0 = fract(n_out6p0);
|
||
|
|
||
|
// ScalarFunc:14
|
||
|
float n_out14p0 = abs(n_out12p0);
|
||
|
|
||
|
// ScalarOp:8
|
||
|
float n_out8p0 = step(n_out7p0, n_out14p0);
|
||
|
|
||
|
// ColorOp:11
|
||
|
vec3 n_out11p0 = min(n_out10p0, vec3(n_out8p0));
|
||
|
|
||
|
// Output:0
|
||
|
COLOR.rgb = n_out11p0;
|
||
|
|
||
|
}
|
||
|
|
||
|
void light() {
|
||
|
// Output:0
|
||
|
|
||
|
}
|
||
|
"
|
||
|
mode = 1
|
||
|
flags/light_only = false
|
||
|
nodes/fragment/0/position = Vector2( 1120, 20 )
|
||
|
nodes/fragment/2/node = SubResource( 12 )
|
||
|
nodes/fragment/2/position = Vector2( 20, 220 )
|
||
|
nodes/fragment/3/node = SubResource( 13 )
|
||
|
nodes/fragment/3/position = Vector2( 0, 60 )
|
||
|
nodes/fragment/4/node = SubResource( 14 )
|
||
|
nodes/fragment/4/position = Vector2( 220, 40 )
|
||
|
nodes/fragment/5/node = SubResource( 15 )
|
||
|
nodes/fragment/5/position = Vector2( 0, 120 )
|
||
|
nodes/fragment/6/node = SubResource( 16 )
|
||
|
nodes/fragment/6/position = Vector2( 500, 160 )
|
||
|
nodes/fragment/7/node = SubResource( 17 )
|
||
|
nodes/fragment/7/position = Vector2( 620, 80 )
|
||
|
nodes/fragment/8/node = SubResource( 18 )
|
||
|
nodes/fragment/8/position = Vector2( 800, 80 )
|
||
|
nodes/fragment/9/node = SubResource( 19 )
|
||
|
nodes/fragment/9/position = Vector2( 380, 40 )
|
||
|
nodes/fragment/10/node = SubResource( 6 )
|
||
|
nodes/fragment/10/position = Vector2( 780, 20 )
|
||
|
nodes/fragment/11/node = SubResource( 7 )
|
||
|
nodes/fragment/11/position = Vector2( 960, 20 )
|
||
|
nodes/fragment/12/node = SubResource( 8 )
|
||
|
nodes/fragment/12/position = Vector2( 180, 300 )
|
||
|
nodes/fragment/13/node = SubResource( 9 )
|
||
|
nodes/fragment/13/position = Vector2( 320, 180 )
|
||
|
nodes/fragment/14/node = SubResource( 10 )
|
||
|
nodes/fragment/14/position = Vector2( 360, 320 )
|
||
|
nodes/fragment/15/node = SubResource( 11 )
|
||
|
nodes/fragment/15/position = Vector2( 20, 280 )
|
||
|
nodes/fragment/connections = PoolIntArray( 5, 0, 4, 0, 5, 1, 4, 1, 6, 0, 7, 0, 7, 0, 8, 0, 4, 0, 9, 0, 10, 0, 11, 0, 8, 0, 11, 1, 11, 0, 0, 0, 3, 0, 5, 0, 2, 0, 13, 0, 9, 0, 6, 0, 13, 0, 6, 1, 12, 0, 14, 0, 14, 0, 8, 1, 12, 0, 13, 1, 15, 0, 12, 0, 2, 0, 15, 0 )
|
||
|
|
||
|
[sub_resource type="ShaderMaterial" id=21]
|
||
|
shader = SubResource( 20 )
|
||
|
|
||
|
[node name="MainSplash" type="Control"]
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
__meta__ = {
|
||
|
"_edit_use_anchors_": false
|
||
|
}
|
||
|
|
||
|
[node name="ColorRect" type="ColorRect" parent="."]
|
||
|
material = SubResource( 21 )
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
color = Color( 1, 1, 0, 1 )
|
||
|
__meta__ = {
|
||
|
"_edit_use_anchors_": false
|
||
|
}
|
||
|
|
||
|
[node name="MainLogo" type="TextureRect" parent="."]
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
size_flags_horizontal = 4
|
||
|
size_flags_vertical = 4
|
||
|
texture = ExtResource( 1 )
|
||
|
expand = true
|
||
|
stretch_mode = 6
|
||
|
__meta__ = {
|
||
|
"_edit_use_anchors_": false
|
||
|
}
|