[gd_scene load_steps=44 format=2] [ext_resource path="res://mirrors/assets/scripts/OnReadyWorld.gd" type="Script" id=1] [ext_resource path="res://mirrors/assets/scenes/Player.tscn" type="PackedScene" id=2] [ext_resource path="res://mirrors/default_env.tres" type="Environment" id=3] [ext_resource path="res://guide/guide.gd" type="Script" id=5] [ext_resource path="res://mirrors/assets/shaders/BrickMaterial.material" type="Material" id=8] [ext_resource path="res://mirrors/assets/scenes/PortalPair.tscn" type="PackedScene" id=9] [sub_resource type="CubeMesh" id=1] size = Vector3( 1, 2, 1.23 ) [sub_resource type="SpatialMaterial" id=2] albedo_color = Color( 0.243137, 0.305882, 0.54902, 1 ) uv1_scale = Vector3( 25, 25, 1 ) [sub_resource type="ConvexPolygonShape" id=3] points = PoolVector3Array( -1, 1, 1, 1, 1, -1, 1, 1, 1, -1, 1, -1, -1, -1, 1, 1, -1, -1, 1, -1, 1, -1, -1, -1, 1, 1, 1, -1, 1, -1, 1, 1, -1, -1, 1, 1, 1, -1, 1, -1, -1, -1, 1, -1, -1, -1, -1, 1, 1, 1, 1, -1, -1, 1, -1, 1, 1, 1, -1, 1, 1, 1, -1, -1, -1, -1, -1, 1, -1, 1, -1, -1 ) [sub_resource type="Shader" id=16] resource_local_to_scene = true code = "shader_type spatial; render_mode unshaded; uniform sampler2D texture_albedo : hint_albedo; void vertex() { } void fragment() { vec2 base_uv = SCREEN_UV; vec4 albedo_tex = texture(texture_albedo,base_uv); ALBEDO = albedo_tex.rgb; ALBEDO = pow(ALBEDO, vec3(2.2)); } " [sub_resource type="ShaderMaterial" id=17] resource_local_to_scene = true shader = SubResource( 16 ) [sub_resource type="Shader" id=18] resource_local_to_scene = true code = "shader_type spatial; render_mode unshaded; uniform sampler2D texture_albedo : hint_albedo; void vertex() { } void fragment() { vec2 base_uv = SCREEN_UV; vec4 albedo_tex = texture(texture_albedo,base_uv); ALBEDO = albedo_tex.rgb; ALBEDO = pow(ALBEDO, vec3(2.2)); } " [sub_resource type="ShaderMaterial" id=19] resource_local_to_scene = true shader = SubResource( 18 ) [sub_resource type="SpatialMaterial" id=60] albedo_color = Color( 0.415686, 0.741176, 0.282353, 1 ) [sub_resource type="Shader" id=20] resource_local_to_scene = true code = "shader_type spatial; render_mode unshaded; uniform sampler2D texture_albedo : hint_albedo; void vertex() { } void fragment() { vec2 base_uv = SCREEN_UV; vec4 albedo_tex = texture(texture_albedo,base_uv); ALBEDO = albedo_tex.rgb; ALBEDO = pow(ALBEDO, vec3(2.2)); } " [sub_resource type="ShaderMaterial" id=21] resource_local_to_scene = true shader = SubResource( 20 ) [sub_resource type="Shader" id=22] resource_local_to_scene = true code = "shader_type spatial; render_mode unshaded; uniform sampler2D texture_albedo : hint_albedo; void vertex() { } void fragment() { vec2 base_uv = SCREEN_UV; vec4 albedo_tex = texture(texture_albedo,base_uv); ALBEDO = albedo_tex.rgb; ALBEDO = pow(ALBEDO, vec3(2.2)); } " [sub_resource type="ShaderMaterial" id=23] resource_local_to_scene = true shader = SubResource( 22 ) [sub_resource type="Shader" id=24] resource_local_to_scene = true code = "shader_type spatial; render_mode unshaded; uniform sampler2D texture_albedo : hint_albedo; void vertex() { } void fragment() { vec2 base_uv = SCREEN_UV; vec4 albedo_tex = texture(texture_albedo,base_uv); ALBEDO = albedo_tex.rgb; ALBEDO = pow(ALBEDO, vec3(2.2)); } " [sub_resource type="ShaderMaterial" id=25] resource_local_to_scene = true shader = SubResource( 24 ) [sub_resource type="Shader" id=26] resource_local_to_scene = true code = "shader_type spatial; render_mode unshaded; uniform sampler2D texture_albedo : hint_albedo; void vertex() { } void fragment() { vec2 base_uv = SCREEN_UV; vec4 albedo_tex = texture(texture_albedo,base_uv); ALBEDO = albedo_tex.rgb; ALBEDO = pow(ALBEDO, vec3(2.2)); } " [sub_resource type="ShaderMaterial" id=27] resource_local_to_scene = true shader = SubResource( 26 ) [sub_resource type="Shader" id=28] resource_local_to_scene = true code = "shader_type spatial; render_mode unshaded; uniform sampler2D texture_albedo : hint_albedo; void vertex() { } void fragment() { vec2 base_uv = SCREEN_UV; vec4 albedo_tex = texture(texture_albedo,base_uv); ALBEDO = albedo_tex.rgb; ALBEDO = pow(ALBEDO, vec3(2.2)); } " [sub_resource type="ShaderMaterial" id=29] resource_local_to_scene = true shader = SubResource( 28 ) [sub_resource type="Shader" id=30] resource_local_to_scene = true code = "shader_type spatial; render_mode unshaded; uniform sampler2D texture_albedo : hint_albedo; void vertex() { } void fragment() { vec2 base_uv = SCREEN_UV; vec4 albedo_tex = texture(texture_albedo,base_uv); ALBEDO = albedo_tex.rgb; ALBEDO = pow(ALBEDO, vec3(2.2)); } " [sub_resource type="ShaderMaterial" id=31] resource_local_to_scene = true shader = SubResource( 30 ) [sub_resource type="QuadMesh" id=32] size = Vector2( 140.08, 39.2 ) [sub_resource type="SpatialMaterial" id=59] albedo_color = Color( 0.996078, 1, 0.32549, 1 ) [sub_resource type="ConvexPolygonShape" id=34] points = PoolVector3Array( -56.865, -19.6, 0, -56.865, 19.6, 0, 56.865, 19.6, 0, -56.865, -19.6, 0, 56.865, 19.6, 0, 56.865, -19.6, 0 ) [sub_resource type="QuadMesh" id=35] size = Vector2( 140.08, 39.2 ) [sub_resource type="SpatialMaterial" id=33] albedo_color = Color( 0.615686, 0.498039, 0.941176, 1 ) uv1_scale = Vector3( 2.5, 1, 1 ) [sub_resource type="QuadMesh" id=36] size = Vector2( 116.41, 147.4 ) [sub_resource type="BoxShape" id=37] extents = Vector3( 56.09, 0.01, 70.86 ) [sub_resource type="CubeMesh" id=47] size = Vector3( 2, 7, 26 ) [sub_resource type="ConvexPolygonShape" id=48] points = PoolVector3Array( -1, 3.5, 13, 1, 3.5, -13, 1, 3.5, 13, -1, 3.5, -13, -1, -3.5, 13, 1, -3.5, -13, 1, -3.5, 13, -1, -3.5, -13, 1, 3.5, 13, -1, 3.5, -13, 1, 3.5, -13, -1, 3.5, 13, 1, -3.5, 13, -1, -3.5, -13, 1, -3.5, -13, -1, -3.5, 13, 1, 3.5, 13, -1, -3.5, 13, -1, 3.5, 13, 1, -3.5, 13, 1, 3.5, -13, -1, -3.5, -13, -1, 3.5, -13, 1, -3.5, -13 ) [sub_resource type="CubeMesh" id=49] size = Vector3( 2, 7, 26 ) [sub_resource type="ConvexPolygonShape" id=50] points = PoolVector3Array( -1, 3.5, 13, 1, 3.5, -13, 1, 3.5, 13, -1, 3.5, -13, -1, -3.5, 13, 1, -3.5, -13, 1, -3.5, 13, -1, -3.5, -13, 1, 3.5, 13, -1, 3.5, -13, 1, 3.5, -13, -1, 3.5, 13, 1, -3.5, 13, -1, -3.5, -13, 1, -3.5, -13, -1, -3.5, 13, 1, 3.5, 13, -1, -3.5, 13, -1, 3.5, 13, 1, -3.5, 13, 1, 3.5, -13, -1, -3.5, -13, -1, 3.5, -13, 1, -3.5, -13 ) [sub_resource type="CubeMesh" id=51] size = Vector3( 2, 7.98, 26 ) [sub_resource type="ConvexPolygonShape" id=52] points = PoolVector3Array( -1, 3.99, 13, 1, 3.99, -13, 1, 3.99, 13, -1, 3.99, -13, -1, -3.99, 13, 1, -3.99, -13, 1, -3.99, 13, -1, -3.99, -13, 1, 3.99, 13, -1, 3.99, -13, 1, 3.99, -13, -1, 3.99, 13, 1, -3.99, 13, -1, -3.99, -13, 1, -3.99, -13, -1, -3.99, 13, 1, 3.99, 13, -1, -3.99, 13, -1, 3.99, 13, 1, -3.99, 13, 1, 3.99, -13, -1, -3.99, -13, -1, 3.99, -13, 1, -3.99, -13 ) [sub_resource type="BoxShape" id=61] extents = Vector3( 0.25, 0.25, 0.25 ) [sub_resource type="CubeMesh" id=62] size = Vector3( 0.5, 0.5, 0.5 ) [sub_resource type="StreamTexture" id=63] flags = 23 [sub_resource type="SpatialMaterial" id=64] albedo_color = Color( 0.611765, 0.611765, 0.611765, 1 ) albedo_texture = SubResource( 63 ) [node name="Game" type="Spatial"] script = ExtResource( 1 ) [node name="World1" type="Spatial" parent="."] [node name="Floor" type="MeshInstance" parent="World1"] transform = Transform( 113.7, 0, 0, 0, 1, 0, 0, 0, 113.732, 0, 0, 0 ) mesh = SubResource( 1 ) material/0 = SubResource( 2 ) [node name="StaticBody" type="StaticBody" parent="World1/Floor"] [node name="CollisionShape" type="CollisionShape" parent="World1/Floor/StaticBody"] shape = SubResource( 3 ) [node name="Textures" parent="World1" instance=ExtResource( 9 )] [node name="PortalA" parent="World1/Textures" index="0"] transform = Transform( -1.13994, 0, -1.70777, 0, 1.18788, 0, 0.334075, 0, -5.82728, -11.0168, 4.488, -9.83145 ) [node name="MeshInstance" parent="World1/Textures/PortalA" index="2"] material_override = SubResource( 17 ) [node name="PortalB" parent="World1/Textures" index="1"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -8.07889, 3.02662, -4.2944 ) [node name="MeshInstance" parent="World1/Textures/PortalB" index="2"] visible = true material_override = SubResource( 19 ) material/0 = SubResource( 60 ) [node name="Textures2" parent="World1" instance=ExtResource( 9 )] [node name="PortalA" parent="World1/Textures2" index="0"] transform = Transform( 0.985025, 0, -0.17241, 0, 1, 0, 0.822905, 0, 4.70148, 8, 4.488, 24.1383 ) [node name="MeshInstance" parent="World1/Textures2/PortalA" index="2"] material_override = SubResource( 21 ) [node name="PortalB" parent="World1/Textures2" index="1"] transform = Transform( -1.71379, 0, -1.49824e-07, 0, 1, 0, 8.74228e-08, 0, -1, 5.90367, 4.65802, 17.9699 ) [node name="MeshInstance" parent="World1/Textures2/PortalB" index="2"] visible = true material_override = SubResource( 23 ) [node name="Textures3" parent="World1" instance=ExtResource( 9 )] [node name="PortalA" parent="World1/Textures3" index="0"] transform = Transform( -1.51927, 0, 1.04851, 0, 1.1786, 0, -5.07458, 0, -7.353, 26.2939, 4.488, -23.435 ) [node name="MeshInstance" parent="World1/Textures3/PortalA" index="2"] material_override = SubResource( 25 ) [node name="PortalB" parent="World1/Textures3" index="1"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 435, 4.488, 15 ) [node name="MeshInstance" parent="World1/Textures3/PortalB" index="2"] material_override = SubResource( 27 ) [node name="Textures4" parent="World1" instance=ExtResource( 9 )] [node name="PortalA" parent="World1/Textures4" index="0"] transform = Transform( 1.05025, 0, 1.37292, 0, 4.17857, 0, -0.794601, 0, 0.607978, 29.9959, 5.79503, 19.3677 ) [node name="MeshInstance" parent="World1/Textures4/PortalA" index="2"] material_override = SubResource( 29 ) [node name="PortalB" parent="World1/Textures4" index="1"] transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -365, 4.488, 16.6594 ) [node name="MeshInstance" parent="World1/Textures4/PortalB" index="2"] visible = true material_override = SubResource( 31 ) [node name="Walls" type="Spatial" parent="World1"] [node name="MeshInstance" type="MeshInstance" parent="World1/Walls"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 20, -70 ) mesh = SubResource( 32 ) material/0 = SubResource( 59 ) [node name="StaticBody" type="StaticBody" parent="World1/Walls/MeshInstance"] [node name="CollisionShape" type="CollisionShape" parent="World1/Walls/MeshInstance/StaticBody"] shape = SubResource( 34 ) [node name="MeshInstance3" type="MeshInstance" parent="World1/Walls"] transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 20, 70 ) mesh = SubResource( 35 ) material/0 = SubResource( 33 ) [node name="StaticBody" type="StaticBody" parent="World1/Walls/MeshInstance3"] [node name="CollisionShape" type="CollisionShape" parent="World1/Walls/MeshInstance3/StaticBody"] shape = SubResource( 34 ) [node name="MeshInstance2" type="MeshInstance" parent="World1/Walls"] transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -55, 20, 0 ) mesh = SubResource( 32 ) material/0 = SubResource( 33 ) [node name="StaticBody" type="StaticBody" parent="World1/Walls/MeshInstance2"] [node name="CollisionShape" type="CollisionShape" parent="World1/Walls/MeshInstance2/StaticBody"] shape = SubResource( 34 ) [node name="MeshInstance4" type="MeshInstance" parent="World1/Walls"] transform = Transform( 1.31134e-07, 0, -1, 0, 1, 0, 1, 0, 1.31134e-07, 56, 20, 0 ) mesh = SubResource( 32 ) material/0 = SubResource( 33 ) [node name="StaticBody" type="StaticBody" parent="World1/Walls/MeshInstance4"] [node name="CollisionShape" type="CollisionShape" parent="World1/Walls/MeshInstance4/StaticBody"] shape = SubResource( 34 ) [node name="Ceiling" type="MeshInstance" parent="World1"] transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0.0658512, 38.1816, -0.0260773 ) mesh = SubResource( 36 ) [node name="StaticBody" type="StaticBody" parent="World1/Ceiling"] input_ray_pickable = false [node name="CollisionShape" type="CollisionShape" parent="World1/Ceiling/StaticBody"] transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0 ) shape = SubResource( 37 ) [node name="World4" type="Spatial" parent="."] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 400, 0, 0 ) [node name="Floor" type="MeshInstance" parent="World4"] transform = Transform( 113.7, 0, 0, 0, 1, 0, 0, 0, 113.732, 0, 0, 0 ) mesh = SubResource( 1 ) material/0 = SubResource( 2 ) [node name="StaticBody" type="StaticBody" parent="World4/Floor"] [node name="CollisionShape" type="CollisionShape" parent="World4/Floor/StaticBody"] shape = SubResource( 3 ) [node name="TunnelSmall" type="Spatial" parent="World4"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 27, 0, 11 ) [node name="MeshInstance" type="MeshInstance" parent="World4/TunnelSmall"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 5, 4.49304, 17 ) mesh = SubResource( 47 ) material/0 = ExtResource( 8 ) [node name="StaticBody" type="StaticBody" parent="World4/TunnelSmall/MeshInstance"] [node name="CollisionShape" type="CollisionShape" parent="World4/TunnelSmall/MeshInstance/StaticBody"] shape = SubResource( 48 ) [node name="MeshInstance2" type="MeshInstance" parent="World4/TunnelSmall"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 10.9999, 4.50006, 17 ) mesh = SubResource( 49 ) material/0 = ExtResource( 8 ) [node name="StaticBody" type="StaticBody" parent="World4/TunnelSmall/MeshInstance2"] [node name="CollisionShape" type="CollisionShape" parent="World4/TunnelSmall/MeshInstance2/StaticBody"] shape = SubResource( 50 ) [node name="MeshInstance3" type="MeshInstance" parent="World4/TunnelSmall"] transform = Transform( -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0, 1, 7.99989, 8.98167, 17 ) mesh = SubResource( 51 ) material/0 = ExtResource( 8 ) [node name="StaticBody" type="StaticBody" parent="World4/TunnelSmall/MeshInstance3"] [node name="CollisionShape" type="CollisionShape" parent="World4/TunnelSmall/MeshInstance3/StaticBody"] shape = SubResource( 52 ) [node name="Walls4" type="Spatial" parent="World4"] [node name="MeshInstance" type="MeshInstance" parent="World4/Walls4"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 20, -70 ) mesh = SubResource( 32 ) material/0 = SubResource( 33 ) [node name="StaticBody" type="StaticBody" parent="World4/Walls4/MeshInstance"] [node name="CollisionShape" type="CollisionShape" parent="World4/Walls4/MeshInstance/StaticBody"] shape = SubResource( 34 ) [node name="MeshInstance3" type="MeshInstance" parent="World4/Walls4"] transform = Transform( -1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, 0, 20, 70 ) mesh = SubResource( 35 ) material/0 = SubResource( 33 ) [node name="StaticBody" type="StaticBody" parent="World4/Walls4/MeshInstance3"] [node name="CollisionShape" type="CollisionShape" parent="World4/Walls4/MeshInstance3/StaticBody"] shape = SubResource( 34 ) [node name="MeshInstance2" type="MeshInstance" parent="World4/Walls4"] transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -55, 20, 0 ) mesh = SubResource( 32 ) material/0 = SubResource( 33 ) [node name="StaticBody" type="StaticBody" parent="World4/Walls4/MeshInstance2"] [node name="CollisionShape" type="CollisionShape" parent="World4/Walls4/MeshInstance2/StaticBody"] shape = SubResource( 34 ) [node name="MeshInstance4" type="MeshInstance" parent="World4/Walls4"] transform = Transform( 1.31134e-07, 0, -1, 0, 1, 0, 1, 0, 1.31134e-07, 56, 20, 0 ) mesh = SubResource( 32 ) material/0 = SubResource( 33 ) [node name="StaticBody" type="StaticBody" parent="World4/Walls4/MeshInstance4"] [node name="CollisionShape" type="CollisionShape" parent="World4/Walls4/MeshInstance4/StaticBody"] shape = SubResource( 34 ) [node name="Player" parent="." instance=ExtResource( 2 )] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.52113, -40.8553 ) [node name="WorldEnvironment" type="WorldEnvironment" parent="."] environment = ExtResource( 3 ) [node name="guide" type="StaticBody" parent="."] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 9.78137, 1.43407, -21.4578 ) visible = false script = ExtResource( 5 ) __meta__ = { "_edit_group_": true } [node name="CollisionShape" type="CollisionShape" parent="guide"] shape = SubResource( 61 ) [node name="MeshInstance" type="MeshInstance" parent="guide"] mesh = SubResource( 62 ) material/0 = SubResource( 64 ) [node name="guide2" type="StaticBody" parent="."] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 400.4, 1.43407, -21.4578 ) visible = false script = ExtResource( 5 ) __meta__ = { "_edit_group_": true } preset = 2 [node name="CollisionShape" type="CollisionShape" parent="guide2"] shape = SubResource( 61 ) [node name="MeshInstance" type="MeshInstance" parent="guide2"] mesh = SubResource( 62 ) material/0 = SubResource( 64 ) [editable path="World1/Textures"] [editable path="World1/Textures/PortalA"] [editable path="World1/Textures/PortalB"] [editable path="World1/Textures2"] [editable path="World1/Textures2/PortalA"] [editable path="World1/Textures2/PortalB"] [editable path="World1/Textures3"] [editable path="World1/Textures3/PortalA"] [editable path="World1/Textures3/PortalB"] [editable path="World1/Textures4"] [editable path="World1/Textures4/PortalA"] [editable path="World1/Textures4/PortalB"]