Void Room preliminary shaders added, boss1 materials added

This commit is contained in:
Pal
2025-09-12 03:35:19 -07:00
parent a4205f1963
commit b04956ea4d
37 changed files with 844 additions and 550 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=282 format=4 uid="uid://5ja3qxn8h7iw"]
[gd_scene load_steps=275 format=4 uid="uid://5ja3qxn8h7iw"]
[ext_resource type="Script" uid="uid://tqyybt313web" path="res://src/map/dungeon/code/BossRoomA.cs" id="1_0h3lb"]
[ext_resource type="Texture2D" uid="uid://vjbe1lg810gh" path="res://src/map/dungeon/models/Set A/15. Boss Floor A/15_A1_BOSS FLOOR A_VER_swirled_column.png" id="2_06eum"]
@@ -33,7 +33,6 @@
[ext_resource type="Texture2D" uid="uid://bfcb0mknmw5a7" path="res://src/map/dungeon/models/Set A/15. Boss Floor A/Boss Floor 1 Ver_FLOOR1.jpg" id="27_16vso"]
[ext_resource type="PackedScene" uid="uid://6dnsw37d1uw4" path="res://src/enemy/enemy_types/15. ox_face/OxFace.tscn" id="27_g6y6v"]
[ext_resource type="Shader" uid="uid://bbn3f2r51dy27" path="res://src/map/dungeon/rooms/Set A/Boss Floor 1 Sky.gdshader" id="28_4xaw3"]
[ext_resource type="Texture2D" uid="uid://dh2b74lac57p0" path="res://src/map/dungeon/models/Set A/15. Boss Floor A/Sunset Skybox.png" id="28_i45xk"]
[ext_resource type="Texture2D" uid="uid://dklna8mnv237w" path="res://src/map/dungeon/models/Set A/15. Boss Floor A/Boss Floor 1 Ver_lower_corridor_lower.png" id="28_q4tlp"]
[ext_resource type="Texture2D" uid="uid://dr4o3a7q08q0k" path="res://src/map/dungeon/models/Set A/15. Boss Floor A/Boss Floor 1 Ver_brick3.png" id="29_mx0fb"]
[ext_resource type="Texture2D" uid="uid://8fkhcvod75sl" path="res://src/map/dungeon/models/Set A/15. Boss Floor A/Boss Floor 1 Ver_WALL TILE 1.jpg" id="30_2rm47"]
@@ -54,7 +53,6 @@
[ext_resource type="Texture2D" uid="uid://c1s648mqbl6kx" path="res://src/map/dungeon/models/Set A/15. Boss Floor A/Boss Floor 1 Ver_tile2.png" id="44_aa5a2"]
[ext_resource type="Texture2D" uid="uid://bn04efxno8xnk" path="res://src/map/dungeon/models/Set A/15. Boss Floor A/Boss Floor 1 Ver_STONE_PANEL_1png.png" id="45_f18uc"]
[ext_resource type="Texture2D" uid="uid://bcu58ooy22scc" path="res://src/map/dungeon/models/Set A/15. Boss Floor A/Boss Floor 1 Ver_RAIL_TRANSPARENT_PLANE.png" id="46_a2bno"]
[ext_resource type="Texture2D" uid="uid://bppmel4i6xifp" path="res://src/map/dungeon/models/Set A/15. Boss Floor A/Boss Floor 1 Ver_CHAIN_TEX.png" id="47_8mpyk"]
[ext_resource type="Texture2D" uid="uid://dv11u63aeqtr8" path="res://src/map/dungeon/models/Set A/15. Boss Floor A/Boss Floor 1 Ver_SNEK TILE.png" id="48_je0mg"]
[ext_resource type="Texture2D" uid="uid://kbq263oarje4" path="res://src/map/dungeon/models/Set A/15. Boss Floor A/Boss Floor 1 Ver_SA115.png" id="49_m7n2k"]
[ext_resource type="Texture2D" uid="uid://cq4fv2s3yj57q" path="res://src/map/dungeon/models/Set A/15. Boss Floor A/Boss Floor 1 Ver_swirled_column_25.png" id="50_43w8i"]
@@ -485,6 +483,7 @@ shadow_mesh = SubResource("ArrayMesh_phooe")
[sub_resource type="Animation" id="Animation_y77h4"]
resource_name = "Animation"
length = 4.29167
loop_mode = 1
tracks/0/type = "rotation_3d"
tracks/0/imported = true
tracks/0/enabled = true
@@ -3885,69 +3884,6 @@ _surfaces = [{
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_06dbi")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_m0lu7"]
resource_name = "Material.030"
transparency = 2
alpha_scissor_threshold = 0.5
alpha_antialiasing_mode = 0
cull_mode = 2
albedo_texture = ExtResource("47_8mpyk")
roughness = 0.5
[sub_resource type="ArrayMesh" id="ArrayMesh_bcjb1"]
_surfaces = [{
"aabb": AABB(-247.93, -5.05649, -1, 298.638, 20.0863, 2),
"format": 34896613377,
"index_count": 72,
"index_data": PackedByteArray("AAABAAIAAAADAAEABAAFAAYABAAHAAUACAAJAAoACAALAAkADAANAA4ADAAPAA0AEAARABIAEAATABEAFAAVABYAFAAXABUAGAAZABoAGAAbABkAHAAdAB4AHAAfAB0AIAAhACIAIAAjACEAJAAlACYAJAAnACUAKAApACoAKAArACkALAAtAC4ALAAvAC0A"),
"name": "Material.030",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 48,
"vertex_data": PackedByteArray("q9NxQP7/AABi1XFAAAAAAGLVcUD+/wAAq9NxQAAAAAD7qkgw/v8AALGsSDAAAAAAsaxIMP7/AAD7qkgwAAAAAMmB6x/+/wAAgIPrHwAAAACAg+sf/v8AAMmB6x8AAAAA71kYEP7/AACmWxgQAAAAAKZbGBD+/wAA71kYEAAAAABpMQAA//8AACAzAAAAAAAAIDMAAP//AABpMQAAAAAAAAAAMK/+/wAAtgEwrwAAAAC2ATCv/v8AAAAAMK8AAAAAhShIv/7/AAA8Kki/AAAAADwqSL/+/wAAhShIvwAAAABfUBzP/v8AABZSHM8AAAAAFlIcz/7/AABfUBzPAAAAAJF5ed/+/wAASHt53wAAAABIe3nf/v8AAJF5ed8AAAAAQqKi7/7/AAD5o6LvAAAAAPmjou/+/wAAQqKi7wAAAAB0y////v8AACvN//8AAAAAK83///7/AAB0y///AAAAAEj+XlH+/wAA//9eUQAAAAD//15R/v8AAEj+XlEAAAAA")
}, {
"aabb": AABB(-286.315, -6.18934, 0.978971, 370.396, 22.2896, 0.0999938),
"format": 34896613377,
"index_count": 96,
"index_data": PackedByteArray("AAABAAIAAAADAAEABAACAAEAAwAEAAEABQAAAAIABQADAAAABQACAAYAAwAHAAQAAwAFAAgAAwAIAAcACAAFAAYABwAJAAQABwAIAAkAAgAEAAkACAAGAAkAAgAJAAYACgALAAwACgANAAsADgAMAAsADQAOAAsADwAKAAwADwANAAoADwAMABAADQARAA4ADQAPABIADQASABEAEgAPABAAEQATAA4AEQASABMADAAOABMAEgAQABMADAATABAA"),
"name": "Material.004",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 20,
"vertex_data": PackedByteArray("itf//5yeAABCAEmf/v8AAAAAUKCbngAAzNf3/v7/AACEAEKe950AAKPXm/9lAAAAGQDtn2UAAAAO2PD9+J0AAPXXVv4AAAAAawCnngAAAAB6/7xhnJ4AADIoBgH+/wAA8CcOApyeAAC8/7Rg//8AAHQoAAD3nQAAk/9YYWYAAAAJKKoBZQAAAP//rl/4nQAA5f8TYAAAAABbKGUAAAAAAA==")
}]
blend_shape_mode = 0
[sub_resource type="ArrayMesh" id="ArrayMesh_w37g8"]
resource_name = "Boss Floor 1 Ver_ 3_Plane_003"
_surfaces = [{
"aabb": AABB(-247.93, -5.05649, -1, 298.638, 20.0863, 2),
"attribute_data": PackedByteArray("AAD/////AAD/////AAAAAAAA/////wAA/////wAAAAAAAP////8AAP////8AAAAAAAD/////AAD/////AAAAAAAA/////wAA/////wAAAAAAAP////8AAP////8AAAAAAAD/////AAD/////AAAAAAAA/////wAA/////wAAAAAAAP////8AAP////8AAAAAAAD/////AAD/////AAAAAAAA/////wAA/////wAAAAAAAP////8AAP////8AAAAA"),
"format": 34896613399,
"index_count": 72,
"index_data": PackedByteArray("AAABAAIAAAADAAEABAAFAAYABAAHAAUACAAJAAoACAALAAkADAANAA4ADAAPAA0AEAARABIAEAATABEAFAAVABYAFAAXABUAGAAZABoAGAAbABkAHAAdAB4AHAAfAB0AIAAhACIAIAAjACEAJAAlACYAJAAnACUAKAApACoAKAArACkALAAtAC4ALAAvAC0A"),
"material": SubResource("StandardMaterial3D_m0lu7"),
"name": "Material.030",
"primitive": 3,
"uv_scale": Vector4(0, 0, 0, 0),
"vertex_count": 48,
"vertex_data": PackedByteArray("q9NxQP7//79i1XFAAAD/v2LVcUD+//+/q9NxQAAA/7/7qkgw/v//v7GsSDAAAP+/saxIMP7//7/7qkgwAAD/v8mB6x/+//+/gIPrHwAA/7+Ag+sf/v//v8mB6x8AAP+/71kYEP7//7+mWxgQAAD/v6ZbGBD+//+/71kYEAAA/79pMQAA////vyAzAAAAAP+/IDMAAP///79pMQAAAAD/vwAAMK/+//+/tgEwrwAA/7+2ATCv/v//vwAAMK8AAP+/hShIv/7//788Kki/AAD/vzwqSL/+//+/hShIvwAA/79fUBzP/v//vxZSHM8AAP+/FlIcz/7//79fUBzPAAD/v5F5ed/+//+/SHt53wAA/79Ie3nf/v//v5F5ed8AAP+/QqKi7/7//7/5o6LvAAD/v/mjou/+//+/QqKi7wAA/790y////v//vyvN//8AAP+/K83///7//790y///AAD/v0j+XlH+//+///9eUQAA/7///15R/v//v0j+XlEAAP+/////f////3////9/////f////3////9/////f////3////9/////f////3////9/////f////3////9/////f////3////9/////f////3////9/////f////3////9/////f////3////9/////f////3////9/////f////3////9/////f////3////9/////f////3////9/////f////3////9/////f////3////9/////f////3////9/")
}, {
"aabb": AABB(-286.315, -6.18934, 0.978971, 370.396, 22.2896, 0.0999938),
"attribute_data": PackedByteArray("CF1ayv+EoIQIXaCE/4RayhGwukUI2AAAEbAAAAjYukUI2LpF//8AAAjYAAD//7pFGw36TppKeGMdM1BCGw32dx0zoIQRsHSLCNi6RRGwukUI2HSLGogu0RGwdIsaiHSLEbAu0ZxwUEKccKCEGoh4Y5pK+k6aSvZ3Goi6RRGwAAAaiAAAEbC6RRqIdIsRsLpFGoi6RRGwdIsRsC7RCNh0ixGwdIsI2C7RGw2qDJpKKCEdMwAAGw2mNR0zUEIbDVrKEjWghBsNoIQSNVrKEjVayghdoIQSNaCECF1aypxwAACccFBCGogoIZpKqgyaSqY1"),
"format": 34896613399,
"index_count": 96,
"index_data": PackedByteArray("AAABAAIAAAADAAEABAAFAAYABAAHAAUACAAJAAoACAALAAkADAANAA4ADQAMAA8ADQAPABAAEQASABMAEQAUABIAFQAWABcAFQAYABYAGQAaABsAGgAZABwAGgAcAB0AHgAfACAAHgAhAB8AIgAjACQAIgAlACMAJgAnACgAJgApACcAKgArACwAKwAqAC0AKwAtAC4ALwAwADEALwAyADAAMwA0ADUAMwA2ADQANwA4ADkAOAA3ADoAOAA6ADsA"),
"material": SubResource("StandardMaterial3D_4bp80"),
"name": "Material.004",
"primitive": 3,
"uv_scale": Vector4(5.55089, 117.603, 0, 0),
"vertex_count": 60,
"vertex_data": PackedByteArray("itf//5ye6ExCAEmf/v+/ZQAAUKCbnqxAzNf3/v7/FmTM1/f+/v/PZYQAQp73nbNMQgBJn/7/BmQO2PD9+J2OQA7Y8P34nd5DawCnngAApQGEAEKe951WCvXXVv4AAAMPhABCnvedEQQAAFCgm560IUIASZ/+/+UKawCnngAARQMZAO2fZQCbDvXXVv4AAFkOGQDtn2UAhg5rAKeeAADJAqPXm/9lAMECo9eb/2UAvwEAAFCgm575QxkA7Z9lAC8Pitf//5yefQqj15v/ZQBEAszX9/7+/+sIitf//5yeQwH111b+AABDDg7Y8P34necUev+8YZye6EwyKAYB/v+/ZfAnDgKcnqZAvP+0YP//FmS8/7Rg///PZXQoAAD3nbJMMigGAf7/BmT//65f+J2PQP//rl/4nd5DWyhlAAAApQF0KAAA951WCuX/E2AAAAMPdCgAAPedEQTwJw4CnJ7JITIoBgH+/+UKWyhlAAAARQMJKKoBZQCbDuX/E2AAAFkOCSiqAWUAhw5bKGUAAADJApP/WGFmAMECk/9YYWYAvwHwJw4CnJ71QwkoqgFlAC8Pev+8YZyefQqT/1hhZgBEArz/tGD//+sIev+8YZyeQwHl/xNgAABDDv//rl/4neQUW+qTiOQusZTfc2XYXssccfjQLmuWFWN3gTTAjjiMuCeMYzQVR2wmNLt35U1+absIaDQi/X/oVczw4tb5R6vL97abQ/J2Y1gOZZyh8Tqsj/a3U28J2pOyyyOc6+pQlkT3WYjmsclSpQqeHOIG1MqgAMNi/g6sC3c4W+qTiOQusZTYc1vYXssccfjQLmuVFWN3gTTAjjOMsSeSYzMVR2wmNLt35U1+absIaTQi/WnoW8zw4tb5RqvL97WbQ/J2Y1gOZJyh8Tmsj/a3U28J2pOyyx2c7epPlkP3WYjmsclSpQqeHOIG1MqgAMNi/g6oC3k4")
}]
blend_shape_mode = 0
shadow_mesh = SubResource("ArrayMesh_bcjb1")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_moelj"]
resource_name = "SNAKE.001"
cull_mode = 2
@@ -4336,21 +4272,18 @@ ambient_light_energy = 0.0
reflected_light_source = 1
glow_enabled = true
glow_intensity = 1.17
glow_strength = 0.56
glow_strength = 0.67
glow_bloom = 1.0
glow_blend_mode = 0
volumetric_fog_enabled = true
volumetric_fog_density = 0.01
volumetric_fog_albedo = Color(0.993257, 0.968728, 0.952261, 1)
adjustment_contrast = 1.11
adjustment_saturation = 0.94
[sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_i45xk"]
dof_blur_far_distance = 42.38
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_54iu8"]
shading_mode = 0
albedo_texture = ExtResource("28_i45xk")
[sub_resource type="PlaneMesh" id="PlaneMesh_3pfmd"]
[sub_resource type="BoxMesh" id="BoxMesh_i45xk"]
lightmap_size_hint = Vector2i(14, 21)
subdivide_width = 90
@@ -4388,32 +4321,36 @@ script = ExtResource("1_0h3lb")
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.327652, -16.1644, 0)
[node name="2_001" type="MeshInstance3D" parent="Model/BELL ANIMATIONS"]
transform = Transform3D(0.420615, 4.70126e-08, 2.20374e-08, -5.08417e-08, 0.336709, 0.252079, -1.05338e-08, 0.252079, -0.336709, -130.9, 19.1732, 28.0257)
transform = Transform3D(0.420615, 6.34463e-08, 1.54222e-09, -6.34552e-08, 0.420245, 0.0176409, -1.12013e-09, 0.0176409, -0.420245, -130.9, 19.1732, 28.0257)
layers = 524288
mesh = SubResource("ArrayMesh_kw6od")
skeleton = NodePath("")
[node name="2_002" type="MeshInstance3D" parent="Model/BELL ANIMATIONS"]
transform = Transform3D(0.420615, 4.34534e-08, -2.37346e-08, -4.85091e-08, 0.321262, -0.271492, 9.91941e-09, -0.271492, -0.321262, -133.608, 19.3244, 6.98554)
transform = Transform3D(0.420615, 6.28241e-08, 5.00295e-09, -6.29205e-08, 0.416704, 0.0572271, -3.59114e-09, 0.0572271, -0.416704, -133.608, 19.3244, 6.98554)
layers = 524288
mesh = SubResource("ArrayMesh_mug6s")
skeleton = NodePath("")
[node name="2_003" type="MeshInstance3D" parent="Model/BELL ANIMATIONS"]
transform = Transform3D(0.420615, 4.70126e-08, 2.20374e-08, -5.08417e-08, 0.336709, 0.252079, -1.05338e-08, 0.252079, -0.336709, -130.9, 19.1732, 6.86731)
transform = Transform3D(0.420615, 6.34463e-08, 1.54222e-09, -6.34552e-08, 0.420245, 0.0176409, -1.12013e-09, 0.0176409, -0.420245, -130.9, 19.1732, 6.86731)
layers = 524288
mesh = SubResource("ArrayMesh_xx38s")
skeleton = NodePath("")
[node name="2_004" type="MeshInstance3D" parent="Model/BELL ANIMATIONS"]
transform = Transform3D(0.420615, 4.34534e-08, -2.37346e-08, -4.85091e-08, 0.321262, -0.271492, 9.91941e-09, -0.271492, -0.321262, -133.608, 19.3244, 28.144)
transform = Transform3D(0.420615, 6.28241e-08, 5.00295e-09, -6.29205e-08, 0.416704, 0.0572271, -3.59114e-09, 0.0572271, -0.416704, -133.608, 19.3244, 28.144)
layers = 524288
mesh = SubResource("ArrayMesh_ct7uo")
skeleton = NodePath("")
[node name="2_005" type="MeshInstance3D" parent="Model/BELL ANIMATIONS"]
transform = Transform3D(0.420615, 4.70126e-08, 2.20374e-08, -5.08417e-08, 0.336709, 0.252079, -1.05338e-08, 0.252079, -0.336709, -130.9, 19.1732, 28.0257)
transform = Transform3D(0.420615, 6.34463e-08, 1.54222e-09, -6.34552e-08, 0.420245, 0.0176409, -1.12013e-09, 0.0176409, -0.420245, -130.9, 19.1732, 28.0257)
mesh = SubResource("ArrayMesh_2l4dv")
skeleton = NodePath("")
[node name="2_006" type="MeshInstance3D" parent="Model/BELL ANIMATIONS"]
transform = Transform3D(0.420615, 4.70126e-08, 2.20374e-08, -5.08417e-08, 0.336709, 0.252079, -1.05338e-08, 0.252079, -0.336709, -130.9, 19.1732, 28.0257)
transform = Transform3D(0.420615, 6.34463e-08, 1.54222e-09, -6.34552e-08, 0.420245, 0.0176409, -1.12013e-09, 0.0176409, -0.420245, -130.9, 19.1732, 28.0257)
mesh = SubResource("ArrayMesh_k0kv6")
skeleton = NodePath("")
@@ -4552,6 +4489,7 @@ skeleton = NodePath("")
[node name="Main Structure 1" type="MeshInstance3D" parent="Model/Boss Floor 1 Ver_ 3"]
transform = Transform3D(-0.204149, 0, -3.36485e-08, 0, 0.0752327, 0, 6.08412e-08, 0, -0.112906, -99.3607, 17.1727, 15.4514)
layers = 524288
mesh = SubResource("ArrayMesh_e3a3m")
skeleton = NodePath("")
@@ -4662,16 +4600,19 @@ skeleton = NodePath("")
[node name="Ceiling Embellishments_003" type="MeshInstance3D" parent="Model/Boss Floor 1 Ver_ 3"]
transform = Transform3D(-0.204149, 0, -3.36485e-08, 0, 0.0752327, 0, 6.08412e-08, 0, -0.112906, -99.3607, 17.1727, 15.4514)
layers = 524288
mesh = SubResource("ArrayMesh_msgro")
skeleton = NodePath("")
[node name="Ceiling Embellishments_004" type="MeshInstance3D" parent="Model/Boss Floor 1 Ver_ 3"]
transform = Transform3D(-0.204149, 0, -3.36485e-08, 0, 0.0752327, 0, 6.08412e-08, 0, -0.112906, -99.3607, 17.1727, 15.4514)
layers = 524288
mesh = SubResource("ArrayMesh_ttoj6")
skeleton = NodePath("")
[node name="Ceiling Embellishments_005" type="MeshInstance3D" parent="Model/Boss Floor 1 Ver_ 3"]
transform = Transform3D(-0.204149, 0, -3.36485e-08, 0, 0.0752327, 0, 6.08412e-08, 0, -0.112906, -99.3607, 17.1727, 15.4514)
layers = 524288
mesh = SubResource("ArrayMesh_i8f1a")
skeleton = NodePath("")
@@ -4685,12 +4626,6 @@ transform = Transform3D(0.830223, 0, 0, 0, 0.830223, 0, 0, 0, 0.830223, -154.274
mesh = SubResource("ArrayMesh_kyne0")
skeleton = NodePath("")
[node name="CHAIN_002" type="MeshInstance3D" parent="Model/Boss Floor 1 Ver_ 3"]
transform = Transform3D(-0.110327, -0.462656, -7.40089e-08, 3.46728e-09, 1.29468e-15, -2.61873, 0.0369263, -1.38231, 2.47706e-08, -126.987, 22.0331, 28.1251)
visible = false
mesh = SubResource("ArrayMesh_w37g8")
skeleton = NodePath("")
[node name="Pancaked Ways_033" type="MeshInstance3D" parent="Model/Boss Floor 1 Ver_ 3"]
transform = Transform3D(-0.204149, 0, -3.36485e-08, 0, 0.0752327, 0, 6.08412e-08, 0, -0.112906, -99.3566, 17.1218, 17.4637)
mesh = SubResource("ArrayMesh_485nr")
@@ -4927,7 +4862,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -52.6848, 0, 16.939)
[node name="PlayerSpawn" type="Marker3D" parent="Spawn Points"]
unique_name_in_owner = true
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -50.9524, -2.35632, 0.329851)
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -50.9524, -2.22131, 0.329851)
[node name="ItemDatabase" parent="Spawn Points" instance=ExtResource("23_gov56")]
unique_name_in_owner = true
@@ -4941,32 +4876,34 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -115.98, -2.05432, -6.6322)
[node name="ActivateTrap" type="Area3D" parent="Room"]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 117.392, -35.0626, -17.4901)
visible = false
collision_layer = 2
collision_mask = 2
[node name="CollisionShape3D" type="CollisionShape3D" parent="Room/ActivateTrap"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -240.071, 36.4279, 34.624)
visible = false
shape = SubResource("BoxShape3D_pkvyy")
[node name="Horse Head Statue" parent="Room" instance=ExtResource("24_r1rk5")]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -102.157, -2.30863, 13.0139)
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -102.157, -2.30863, 13.0139)
visible = false
[node name="Horse Head Active" parent="Room" instance=ExtResource("25_a482y")]
unique_name_in_owner = true
transform = Transform3D(0.15, 0, 0, 0, 0.15, 0, 0, 0, 0.15, -102.157, -0.510939, 13.0139)
visible = false
transform = Transform3D(-6.55671e-09, 0, -0.15, 0, 0.15, 0, 0.15, 0, -6.55671e-09, -102.157, -0.510939, 13.0139)
PrimaryAttackElementalType = 0
PrimaryAttackElementalDamageBonus = 1.0
[node name="Ox Face Statue" parent="Room" instance=ExtResource("26_futcf")]
unique_name_in_owner = true
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -101.555, -2.30863, 21.5833)
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -101.555, -2.30863, 21.5833)
visible = false
[node name="OxFace Active" parent="Room" instance=ExtResource("27_g6y6v")]
unique_name_in_owner = true
transform = Transform3D(-0.15, 0, -2.26494e-08, 0, 0.15, 0, 2.26494e-08, 0, -0.15, -101.703, -0.479859, 22.0955)
visible = false
transform = Transform3D(-6.55671e-09, 0, -0.15, 0, 0.15, 0, 0.15, 0, -6.55671e-09, -101.703, -0.479859, 22.0955)
[node name="Exit" type="Area3D" parent="Room"]
unique_name_in_owner = true
@@ -4989,18 +4926,40 @@ transform = Transform3D(0.951873, 0.224364, -0.208802, 0.306449, -0.708162, 0.63
light_color = Color(1, 0.802, 0.46, 1)
light_energy = 1.088
light_indirect_energy = 0.0
light_cull_mask = 4294443007
shadow_enabled = true
shadow_blur = 1.868
[node name="Sky Billboard" type="MeshInstance3D" parent="."]
transform = Transform3D(2000, 0, 2.62268e-05, 8.74228e-05, 1.14641e-12, -600, 0, 600, 1.14641e-12, -485.068, -193.889, -378.654)
visible = false
material_override = SubResource("StandardMaterial3D_54iu8")
mesh = SubResource("PlaneMesh_3pfmd")
skeleton = NodePath("../CLOUD PLANE 2")
[node name="CLOUD PLANE 2" type="MeshInstance3D" parent="."]
transform = Transform3D(600, 0, 0, 0, 13.545, 0, 0, 0, 400, -197.289, -27.4378, -182.106)
mesh = SubResource("BoxMesh_i45xk")
skeleton = NodePath("../Boss Floor Environment")
surface_material_override/0 = SubResource("ShaderMaterial_4xaw3")
[node name="ReflectionProbe" type="ReflectionProbe" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -96.5712, 3.3683, 16.3951)
size = Vector3(98.5796, 34.2573, 38.668)
interior = true
[node name="OmniLight3D2" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -104.964, 8.26416, 16.6272)
light_energy = 4.0
shadow_enabled = true
omni_range = 14.0
omni_attenuation = 2.0
[node name="OmniLight3D3" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -131.201, 8.26416, 16.6272)
light_color = Color(0.836537, 0.755483, 0.686753, 1)
light_energy = 4.0
shadow_enabled = true
omni_range = 14.0
omni_attenuation = 2.0
[node name="OmniLight3D" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -118.103, 8.26416, 16.6272)
light_color = Color(0.841924, 0.784619, 0.671499, 1)
light_energy = 4.0
shadow_enabled = true
omni_range = 14.0
omni_attenuation = 2.0

File diff suppressed because one or more lines are too long

View File

@@ -15,7 +15,7 @@
[ext_resource type="Texture2D" uid="uid://dd1jvmfs1cbbg" path="res://src/map/dungeon/models/Set B/35. Goddess of Guidance's Floor/GoG Room mirrored_floral_single_tile.jpg" id="13_aytwf"]
[ext_resource type="Texture2D" uid="uid://nvg6i8gbgqjv" path="res://src/map/dungeon/models/Set B/35. Goddess of Guidance's Floor/GoG Room mirrored_angkor_mural.jpg" id="14_tf4w3"]
[ext_resource type="Texture2D" uid="uid://3w1ac5fvks5v" path="res://src/map/dungeon/models/Set B/35. Goddess of Guidance's Floor/GoG Room mirrored_area_2_big_tile.png" id="15_nduur"]
[ext_resource type="Shader" uid="uid://beg8sp6kw66w8" path="res://src/map/dungeon/rooms/Set B/GOGROOM Water.gdshader" id="16_q4do2"]
[ext_resource type="Shader" uid="uid://beg8sp6kw66w8" path="res://src/map/map shaders/GOGROOM Water.gdshader" id="16_q4do2"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_q1ixl"]
resource_name = "Material.014"

View File

@@ -1,244 +0,0 @@
shader_type spatial;
render_mode world_vertex_coords, cull_disabled;
uniform sampler2D screen : hint_screen_texture, filter_linear_mipmap_anisotropic, repeat_disable;
group_uniforms colours;
uniform vec3 surfacecolour : source_color;
uniform vec3 volumecolour : source_color;
group_uniforms material;
uniform float AirIOR = 1.0;
uniform float IOR = 1.33;
group_uniforms textures;
uniform vec2 sampler1speed = vec2(0.02, 0.0);
uniform vec2 sampler2speed = vec2(0.0, 0.02);
uniform float samplermix : hint_range(0.0, 1.0, 0.1) = 0.5;
uniform vec2 samplerscale = vec2(0.1);
uniform sampler2D normal1tex : filter_linear_mipmap_anisotropic, hint_normal;
uniform sampler2D normal2tex : filter_linear_mipmap_anisotropic, hint_normal;
uniform float normalstrength : hint_range(0.0, 5.0, 0.01) = 1.0;
uniform sampler2D height1tex : filter_linear_mipmap_anisotropic;
uniform sampler2D height2tex : filter_linear_mipmap_anisotropic;
uniform float heightstrength : hint_range(0.0, 5.0, 0.01) = 0.12;
uniform sampler2D edge1tex : filter_linear_mipmap_anisotropic;
uniform sampler2D edge2tex : filter_linear_mipmap_anisotropic;
varying vec2 position;
varying vec3 wposition;
group_uniforms refraction;
uniform float refrationamount : hint_range(0.0, 1.0, 0.01);
uniform bool fog_underwater;
group_uniforms edge;
uniform float edge_size : hint_range(0.01, 0.5, 0.01) = 0.1;
uniform bool foam_or_fade = false;
uniform sampler2D DEPTH_TEXTURE : hint_depth_texture, filter_linear_mipmap, repeat_disable;
group_uniforms screen_space_reflection;
uniform float far_clip = 50.0;
uniform int steps : hint_range(64, 1024, 16) = 512;
uniform float ssr_screen_fade : hint_range(0.01, 0.5, 0.01) = 0.05;
float schlickfresnel(float ior1, float ior2, vec3 view, vec3 norm) {
float incident = dot(view, norm);
float reflectance = pow(((ior2 - ior1)/(ior2 + ior1)), 2.0);
float fresnelincident = reflectance + (1.0 - reflectance) * pow(1.0 - cos(incident), 5.0);
return(fresnelincident / incident);
}
void vertex() {
position = VERTEX.xz;
UV = VERTEX.xz * samplerscale + (sampler1speed * TIME);
UV2 = VERTEX.xz * samplerscale + (sampler2speed * TIME);
float height = mix(texture(height1tex, UV),texture(height2tex, UV2),samplermix).x;
VERTEX.y += (height - 0.5) * heightstrength;
wposition = VERTEX;
// Called for every vertex the material is visible on.
}
float snells_window(vec3 normal, vec3 view, float ior) {
float cos_theta = dot(normal, view);
return step(sqrt(1.0 - cos_theta * cos_theta) * ior, 1.0);
}
float linear_depth(float nonlinear_depth, mat4 inv_projection_matrix) {
return 1.0 / (nonlinear_depth * inv_projection_matrix[2].w + inv_projection_matrix[3].w);
}
float nonlinear_depth(float linear_depth, mat4 inv_projection_matrix) {
return (1.0 / linear_depth - inv_projection_matrix[3].w) / inv_projection_matrix[2].w;
}
vec2 view2uv(vec3 position_view_space, mat4 proj_m)
{
vec4 position_clip_space = proj_m * vec4(position_view_space.xyz, 1.0);
vec2 position_ndc = position_clip_space.xy / position_clip_space.w;
return position_ndc.xy * 0.5 + 0.5;
}
float remap(float x, float min1, float max1, float min2, float max2) {
return ((x - min1) / (max1 - min1) + min2) * (max2 - min2);
}
float remap1(float x, float min1, float max1) {
return (x - min1) / (max1 - min1);
}
float edge_fade(vec2 uv, float size) {
float x1 = clamp(remap1(uv.x, 0.0, size), 0.0, 1.0);
float x2 = clamp(remap1(uv.x, 1.0, 1.0 - size), 0.0, 1.0);
float y1 = clamp(remap1(uv.y, 0.0, size), 0.0, 1.0);
float y2 = clamp(remap1(uv.y, 1.0, 1.0 - size), 0.0, 1.0);
return x1*x2*y1*y2;
}
void fragment() {
vec3 onorm = NORMAL;
vec2 normmap = mix(texture(normal1tex, UV),texture(normal2tex, UV2),samplermix).xy;
NORMAL += TANGENT * (normmap.x - 0.5) * normalstrength;
NORMAL += BINORMAL * (normmap.y - 0.5) * normalstrength;
vec3 wnorm = (vec4(NORMAL, 0.0) * VIEW_MATRIX).xyz;
vec3 wview = (vec4(VIEW, 0.0) * VIEW_MATRIX).xyz;
if (FRONT_FACING) {
ROUGHNESS = 0.0;
METALLIC = 1.0;
SPECULAR = 0.0;
float fres = schlickfresnel(AirIOR, IOR, VIEW, NORMAL);
ALBEDO = surfacecolour * fres;
// REFRACTION
float lineardepth = linear_depth(texture(DEPTH_TEXTURE, SCREEN_UV).r, INV_PROJECTION_MATRIX);
float selfdepth = -VERTEX.z;
float depth_diff = lineardepth - selfdepth;
vec3 tanx = BINORMAL * (normmap.x - 0.5) * normalstrength;
vec3 tany = TANGENT * (normmap.y - 0.5) * normalstrength;
vec2 refracted_uv = SCREEN_UV + (tanx + tany).xy * refrationamount * depth_diff / lineardepth;
float newdepth = linear_depth(texture(DEPTH_TEXTURE, refracted_uv).r, INV_PROJECTION_MATRIX);
//float selfdepth = 1.0/(1.0 + 2.0 * distance(wposition, CAMERA_POSITION_WORLD));
vec3 newvolcolour = mix(volumecolour, vec3(1.0), clamp(1.0 / (depth_diff * 1.0), 0.0, 1.0));
EMISSION = newvolcolour * texture(screen, refracted_uv).rgb;
if (newdepth < selfdepth) {
EMISSION = newvolcolour * texture(screen, SCREEN_UV).rgb;
}
// SSR
vec3 reflected = -reflect(VIEW, NORMAL);
vec3 pos = VERTEX;
int curstep = 0;
bool finished = false;
vec2 uv;
float currentdepth;
while (curstep < steps) {
float step_scale = float(curstep + 1) / float(steps);
float step_dist = step_scale * step_scale * far_clip;
pos += reflected * step_dist;
curstep += 1;
currentdepth = -pos.z;
uv = view2uv(pos, PROJECTION_MATRIX);
if (!(uv.x < 1.0 && uv.y < 1.0 && uv.x > 0.0 && uv.y > 0.0)) {
break;
}
float testdepth = linear_depth(texture(DEPTH_TEXTURE, uv).r, INV_PROJECTION_MATRIX);
if (testdepth < currentdepth) {
finished = true;
break;
}
}
if (finished && currentdepth < far_clip * 0.99) {
ALBEDO *= 1.0 - edge_fade(uv, ssr_screen_fade);
METALLIC *= 1.0 - edge_fade(uv, ssr_screen_fade);
EMISSION += texture(screen, uv).xyz * schlickfresnel(1.0, 1.33, VIEW, NORMAL) * edge_fade(uv, ssr_screen_fade);
}
// EDGE EFFECT
float distfromedge = depth_diff * dot(normalize(NORMAL), normalize(-VERTEX)) / VIEW.z;
if (distfromedge < edge_size) {
distfromedge /= edge_size;
if (foam_or_fade) {
ALPHA = distfromedge;
} else {
float edgetex = mix(texture(edge1tex, UV).r, texture(edge2tex, UV2).r, samplermix);
if (edgetex > distfromedge) {
ALBEDO = vec3(1.0);
ROUGHNESS = 1.0;
METALLIC = 1.0;
EMISSION = vec3(0.0);
NORMAL = onorm;
}
}
}
} else {
// SNELLS WINDOW
float window = snells_window(wnorm, wview, IOR);
if (window > 0.5) {
ROUGHNESS = 1.0;
METALLIC = 1.0;
ALBEDO = vec3(0.0);
SPECULAR = 0.0;
float linear_depth = 1.0 / (texture(DEPTH_TEXTURE, SCREEN_UV).r * INV_PROJECTION_MATRIX[2].w + INV_PROJECTION_MATRIX[3].w);
float selfdepth = 1.0 / (FRAGCOORD.z * INV_PROJECTION_MATRIX[2].w + INV_PROJECTION_MATRIX[3].w);
float depth_diff = linear_depth - selfdepth;
vec3 tanx = BINORMAL * (normmap.x - 0.5) * normalstrength;
vec3 tany = TANGENT * (normmap.y - 0.5) * normalstrength;
float newdepth = 1.0 / (texture(DEPTH_TEXTURE, SCREEN_UV + (tanx + tany).xy * refrationamount).r * INV_PROJECTION_MATRIX[2].w + INV_PROJECTION_MATRIX[3].w);
//float selfdepth = 1.0/(1.0 + 2.0 * distance(wposition, CAMERA_POSITION_WORLD));
vec3 newvolcolour = mix(volumecolour, vec3(1.0), clamp(1.0 / (selfdepth * 1.0), 0.0, 1.0));
if (!fog_underwater) {
newvolcolour = vec3(1.0);
}
EMISSION = newvolcolour * texture(screen, SCREEN_UV + (tanx + tany).xy * refrationamount).rgb;
} else {
ALBEDO = surfacecolour;
ROUGHNESS = 0.0;
METALLIC = 1.0;
// SSR
vec3 reflected = -reflect(VIEW, NORMAL);
vec3 pos = VERTEX;
int curstep = 0;
bool finished = false;
vec2 uv;
float currentdepth;
while (curstep < steps) {
float step_scale = float(curstep + 1) / float(steps);
float step_dist = step_scale * step_scale * far_clip;
pos += reflected * step_dist;
curstep += 1;
currentdepth = -pos.z;
uv = view2uv(pos, PROJECTION_MATRIX);
if (!(uv.x < 1.0 && uv.y < 1.0 && uv.x > 0.0 && uv.y > 0.0)) {
break;
}
float testdepth = linear_depth(texture(DEPTH_TEXTURE, uv).r, INV_PROJECTION_MATRIX);
if (testdepth < currentdepth) {
finished = true;
break;
}
}
if (finished && currentdepth < far_clip * 0.99) {
ALBEDO *= 1.0 - edge_fade(uv, ssr_screen_fade);
METALLIC *= 1.0 - edge_fade(uv, ssr_screen_fade);
EMISSION += texture(screen, uv).xyz * schlickfresnel(1.0, 1.33, VIEW, NORMAL) * edge_fade(uv, ssr_screen_fade);
}
}
}
}

View File

@@ -1 +0,0 @@
uid://beg8sp6kw66w8