mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-16 11:53:48 +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="Resource" script_class="ToolTag" load_steps=5 format=3 uid="uid://buod6sdg7c12l"]
|
||||
[gd_resource type="Resource" script_class="ToolTag" format=3 uid="uid://buod6sdg7c12l"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bos2j51dp4j1s" path="res://addons/cyclops_level_builder/art/icons/edit_clip.svg" id="1_oaury"]
|
||||
[ext_resource type="Script" uid="uid://cewve1gm2ssbu" path="res://addons/cyclops_level_builder/resources/tool_tag.gd" id="2_4grct"]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="Resource" script_class="ToolTag" load_steps=5 format=3 uid="uid://c648hs1r46mat"]
|
||||
[gd_resource type="Resource" script_class="ToolTag" format=3 uid="uid://c648hs1r46mat"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bwasqbq4iqkn6" path="res://addons/cyclops_level_builder/art/icons/block.svg" id="1_qojcl"]
|
||||
[ext_resource type="Script" uid="uid://cewve1gm2ssbu" path="res://addons/cyclops_level_builder/resources/tool_tag.gd" id="1_vgbvo"]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="Resource" script_class="ToolTag" load_steps=5 format=3 uid="uid://wm5lu7jdndym"]
|
||||
[gd_resource type="Resource" script_class="ToolTag" format=3 uid="uid://wm5lu7jdndym"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://0vye3ue3ayvf" path="res://addons/cyclops_level_builder/art/icons/create_cylinder.svg" id="1_a3871"]
|
||||
[ext_resource type="Script" uid="uid://cewve1gm2ssbu" path="res://addons/cyclops_level_builder/resources/tool_tag.gd" id="2_8mpiw"]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="Resource" script_class="ToolTag" load_steps=5 format=3 uid="uid://cihxgriu32oxb"]
|
||||
[gd_resource type="Resource" script_class="ToolTag" format=3 uid="uid://cihxgriu32oxb"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cbmwkjbju75er" path="res://addons/cyclops_level_builder/art/icons/create_prism.svg" id="1_gxivr"]
|
||||
[ext_resource type="Script" uid="uid://cewve1gm2ssbu" path="res://addons/cyclops_level_builder/resources/tool_tag.gd" id="1_oalyb"]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="Resource" script_class="ToolTag" load_steps=5 format=3 uid="uid://16f1nwimgn0p"]
|
||||
[gd_resource type="Resource" script_class="ToolTag" format=3 uid="uid://16f1nwimgn0p"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bwq4w4vf8um1f" path="res://addons/cyclops_level_builder/art/icons/create_stairs.svg" id="1_4iod6"]
|
||||
[ext_resource type="Script" uid="uid://cewve1gm2ssbu" path="res://addons/cyclops_level_builder/resources/tool_tag.gd" id="1_kdc1t"]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="Resource" script_class="ToolTag" load_steps=5 format=3 uid="uid://dub6oyal5fxly"]
|
||||
[gd_resource type="Resource" script_class="ToolTag" format=3 uid="uid://dub6oyal5fxly"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://d2da2j8ve48rt" path="res://addons/cyclops_level_builder/art/icons/select_edge.svg" id="1_6o0d8"]
|
||||
[ext_resource type="Script" uid="uid://cewve1gm2ssbu" path="res://addons/cyclops_level_builder/resources/tool_tag.gd" id="1_w2hsk"]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="Resource" script_class="ToolTag" load_steps=6 format=3 uid="uid://cmdgd8wmfdo4a"]
|
||||
[gd_resource type="Resource" script_class="ToolTag" format=3 uid="uid://cmdgd8wmfdo4a"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bi27fw31w4ssi" path="res://addons/cyclops_level_builder/art/icons/select_face.svg" id="1_s64xo"]
|
||||
[ext_resource type="Script" uid="uid://cewve1gm2ssbu" path="res://addons/cyclops_level_builder/resources/tool_tag.gd" id="2_qfyqw"]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="Resource" script_class="ToolTag" load_steps=5 format=3 uid="uid://ctj35x0jfg7ej"]
|
||||
[gd_resource type="Resource" script_class="ToolTag" format=3 uid="uid://ctj35x0jfg7ej"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cwn58lev5oopd" path="res://addons/cyclops_level_builder/art/icons/select_vertex.svg" id="1_i5cb7"]
|
||||
[ext_resource type="Script" uid="uid://cewve1gm2ssbu" path="res://addons/cyclops_level_builder/resources/tool_tag.gd" id="2_yi1sl"]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="Resource" script_class="ToolTag" load_steps=5 format=3 uid="uid://bjmuechy70058"]
|
||||
[gd_resource type="Resource" script_class="ToolTag" format=3 uid="uid://bjmuechy70058"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dw8s7hrmnu34j" path="res://addons/cyclops_level_builder/art/icons/material_brush.svg" id="1_hjh4j"]
|
||||
[ext_resource type="Script" uid="uid://cewve1gm2ssbu" path="res://addons/cyclops_level_builder/resources/tool_tag.gd" id="2_ooato"]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="Resource" script_class="ToolTag" load_steps=6 format=3 uid="uid://rskdanqaqt1y"]
|
||||
[gd_resource type="Resource" script_class="ToolTag" format=3 uid="uid://rskdanqaqt1y"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cqy2x1s41ypbt" path="res://addons/cyclops_level_builder/art/icons/move.svg" id="1_g0ofo"]
|
||||
[ext_resource type="Script" uid="uid://cewve1gm2ssbu" path="res://addons/cyclops_level_builder/resources/tool_tag.gd" id="1_skypg"]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="Resource" script_class="ToolTag" load_steps=5 format=3 uid="uid://p0ucaj6w232i"]
|
||||
[gd_resource type="Resource" script_class="ToolTag" format=3 uid="uid://p0ucaj6w232i"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://1hu5mqwbm55w" path="res://addons/cyclops_level_builder/art/icons/rotate.svg" id="1_12a61"]
|
||||
[ext_resource type="Script" uid="uid://cewve1gm2ssbu" path="res://addons/cyclops_level_builder/resources/tool_tag.gd" id="2_10xto"]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="Resource" script_class="ToolTag" load_steps=5 format=3 uid="uid://b1a71dvqwi4h1"]
|
||||
[gd_resource type="Resource" script_class="ToolTag" format=3 uid="uid://b1a71dvqwi4h1"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://be3f2j6mnl1yb" path="res://addons/cyclops_level_builder/art/icons/vertex_color_brush.svg" id="1_e5tvl"]
|
||||
[ext_resource type="Script" uid="uid://cewve1gm2ssbu" path="res://addons/cyclops_level_builder/resources/tool_tag.gd" id="2_pcbhj"]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="Theme" load_steps=2 format=3 uid="uid://eajwlh2rlu3a"]
|
||||
[gd_resource type="Theme" format=3 uid="uid://eajwlh2rlu3a"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_amf1g"]
|
||||
bg_color = Color(0, 0, 0, 1)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="Theme" load_steps=2 format=3 uid="uid://di7ydnvl4n54r"]
|
||||
[gd_resource type="Theme" format=3 uid="uid://di7ydnvl4n54r"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_amf1g"]
|
||||
bg_color = Color(0, 0, 0, 1)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="Theme" load_steps=2 format=3 uid="uid://8ufqa1nourhn"]
|
||||
[gd_resource type="Theme" format=3 uid="uid://8ufqa1nourhn"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_amf1g"]
|
||||
bg_color = Color(0, 0, 0, 1)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[gd_resource type="VisualShader" load_steps=5 format=3 uid="uid://cc5tovf48xmg1"]
|
||||
[gd_resource type="VisualShader" format=3 uid="uid://cc5tovf48xmg1"]
|
||||
|
||||
[sub_resource type="VisualShaderNodeColorConstant" id="VisualShaderNodeColorConstant_mqcg1"]
|
||||
constant = Color(0, 0, 0, 1)
|
||||
|
|
@ -14,46 +14,6 @@ default_value = Color(0, 0, 0, 1)
|
|||
default_input_values = [0, 0.0, 1, 1.0]
|
||||
|
||||
[resource]
|
||||
code = "shader_type spatial;
|
||||
render_mode blend_mix, depth_draw_opaque, depth_test_default, cull_back, diffuse_lambert, specular_schlick_ggx;
|
||||
|
||||
uniform vec4 ColorParameter : source_color = vec4(0.000000, 0.000000, 0.000000, 1.000000);
|
||||
uniform sampler2D depth_tex_frg_4 : hint_depth_texture;
|
||||
|
||||
|
||||
|
||||
void fragment() {
|
||||
// ColorConstant:2
|
||||
vec4 n_out2p0 = vec4(0.000000, 0.000000, 0.000000, 1.000000);
|
||||
|
||||
|
||||
// ColorParameter:3
|
||||
vec4 n_out3p0 = ColorParameter;
|
||||
|
||||
|
||||
float n_out4p0;
|
||||
// LinearSceneDepth:4
|
||||
{
|
||||
float __log_depth = textureLod(depth_tex_frg_4, SCREEN_UV, 0.0).x;
|
||||
vec4 __depth_view = INV_PROJECTION_MATRIX * vec4(SCREEN_UV * 2.0 - 1.0, __log_depth, 1.0);
|
||||
__depth_view.xyz /= __depth_view.w;
|
||||
n_out4p0 = -__depth_view.z;
|
||||
}
|
||||
|
||||
|
||||
// FloatOp:5
|
||||
float n_in5p1 = 1.00000;
|
||||
float n_out5p0 = n_out4p0 + n_in5p1;
|
||||
|
||||
|
||||
// Output:0
|
||||
ALBEDO = vec3(n_out2p0.xyz);
|
||||
EMISSION = vec3(n_out3p0.xyz);
|
||||
NORMAL_MAP_DEPTH = n_out5p0;
|
||||
|
||||
|
||||
}
|
||||
"
|
||||
nodes/fragment/0/position = Vector2(480, 140)
|
||||
nodes/fragment/2/node = SubResource("VisualShaderNodeColorConstant_mqcg1")
|
||||
nodes/fragment/2/position = Vector2(227.319, 156.469)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue