[gd_scene load_steps=50 format=2] [ext_resource path="res://scenes/Game/WorldEnvironment.gd" type="Script" id=1] [ext_resource path="res://assets/test/sky_box.jpg" type="Texture" id=2] [ext_resource path="res://assets/Game/Brick08/Bricks08_col.jpg" type="Texture" id=3] [ext_resource path="res://assets/Game/Brick08/Bricks08_AO.jpg" type="Texture" id=4] [ext_resource path="res://assets/Game/Brick08/Bricks08_disp.jpg" type="Texture" id=5] [ext_resource path="res://assets/Game/Brick08/Bricks08_nrm.jpg" type="Texture" id=6] [ext_resource path="res://assets/Game/Brick08/Bricks08_rgh.jpg" type="Texture" id=7] [ext_resource path="res://scenes/Game/Box.gd" type="Script" id=8] [ext_resource path="res://scenes/Game/CubeShaderTest.tscn" type="PackedScene" id=9] [ext_resource path="res://scenes/Game/firecamp.tscn" type="PackedScene" id=10] [ext_resource path="res://assets/Game/textures/fire_01.png" type="Texture" id=11] [ext_resource path="res://assets/Game/textures/fire_02.png" type="Texture" id=12] [ext_resource path="res://scenes/Game/jukebox/jukebox.tscn" type="PackedScene" id=13] [ext_resource path="res://scenes/Game/portail/portail.tscn" type="PackedScene" id=14] [sub_resource type="ProceduralSky" id=1] radiance_size = 4 sky_top_color = Color( 0.0470588, 0.454902, 0.976471, 1 ) sky_horizon_color = Color( 0.556863, 0.823529, 0.909804, 1 ) sky_curve = 0.25 sky_energy = 1.0 ground_bottom_color = Color( 0.101961, 0.145098, 0.188235, 1 ) ground_horizon_color = Color( 0.482353, 0.788235, 0.952941, 1 ) ground_curve = 0.01 ground_energy = 1.0 sun_color = Color( 1, 1, 1, 1 ) sun_latitude = 35.0 sun_longitude = 0.0 sun_angle_min = 1.0 sun_angle_max = 100.0 sun_curve = 0.05 sun_energy = 0.0 texture_size = 2 _sections_unfolded = [ "Ground", "Sky", "Sun", "Texture" ] [sub_resource type="Environment" id=2] background_mode = 1 background_sky = SubResource( 1 ) background_sky_custom_fov = 0.0 background_color = Color( 0, 0, 0, 1 ) background_energy = 1.0 background_canvas_max_layer = 0 ambient_light_color = Color( 1, 1, 1, 1 ) ambient_light_energy = 0.0 ambient_light_sky_contribution = 0.0 fog_enabled = false fog_color = Color( 0.5, 0.6, 0.7, 1 ) fog_sun_color = Color( 1, 0.9, 0.7, 1 ) fog_sun_amount = 0.0 fog_depth_enabled = true fog_depth_begin = 10.0 fog_depth_curve = 1.0 fog_transmit_enabled = false fog_transmit_curve = 1.0 fog_height_enabled = false fog_height_min = 0.0 fog_height_max = 100.0 fog_height_curve = 1.0 tonemap_mode = 2 tonemap_exposure = 1.0 tonemap_white = 1.0 auto_exposure_enabled = false auto_exposure_scale = 0.4 auto_exposure_min_luma = 0.05 auto_exposure_max_luma = 8.0 auto_exposure_speed = 0.5 ss_reflections_enabled = false ss_reflections_max_steps = 64 ss_reflections_fade_in = 0.15 ss_reflections_fade_out = 2.0 ss_reflections_depth_tolerance = 0.2 ss_reflections_roughness = true ssao_enabled = true ssao_radius = 1.0 ssao_intensity = 1.0 ssao_radius2 = 0.0 ssao_intensity2 = 1.0 ssao_bias = 0.01 ssao_light_affect = 0.0 ssao_color = Color( 0, 0, 0, 1 ) ssao_quality = 0 ssao_blur = 3 ssao_edge_sharpness = 4.0 dof_blur_far_enabled = false dof_blur_far_distance = 10.0 dof_blur_far_transition = 5.0 dof_blur_far_amount = 0.1 dof_blur_far_quality = 1 dof_blur_near_enabled = false dof_blur_near_distance = 2.0 dof_blur_near_transition = 1.0 dof_blur_near_amount = 0.1 dof_blur_near_quality = 1 glow_enabled = false glow_levels/1 = false glow_levels/2 = false glow_levels/3 = true glow_levels/4 = false glow_levels/5 = true glow_levels/6 = false glow_levels/7 = false glow_intensity = 0.8 glow_strength = 1.0 glow_bloom = 0.0 glow_blend_mode = 2 glow_hdr_threshold = 1.0 glow_hdr_scale = 2.0 glow_bicubic_upscale = false adjustment_enabled = false adjustment_brightness = 1.0 adjustment_contrast = 1.0 adjustment_saturation = 1.0 _sections_unfolded = [ "Ambient Light", "Background", "Resource", "SS Reflections", "SSAO", "Tonemap" ] [sub_resource type="SphereMesh" id=3] custom_aabb = AABB( 0, 0, 0, 0, 0, 0 ) radius = 1.0 height = 2.0 radial_segments = 64 rings = 32 is_hemisphere = false [sub_resource type="SpatialMaterial" id=4] render_priority = 0 flags_transparent = true flags_unshaded = true flags_vertex_lighting = false flags_no_depth_test = false flags_use_point_size = false flags_world_triplanar = false flags_fixed_size = false flags_albedo_tex_force_srgb = false vertex_color_use_as_albedo = false vertex_color_is_srgb = false params_diffuse_mode = 0 params_specular_mode = 0 params_blend_mode = 0 params_cull_mode = 1 params_depth_draw_mode = 0 params_line_width = 1.0 params_point_size = 1.0 params_billboard_mode = 0 params_grow = false params_use_alpha_scissor = false albedo_color = Color( 1, 1, 1, 0.138118 ) albedo_texture = ExtResource( 2 ) metallic = 0.0 metallic_specular = 0.0 metallic_texture_channel = 0 roughness = 1.0 roughness_texture_channel = 0 emission_enabled = false normal_enabled = false rim_enabled = false clearcoat_enabled = false anisotropy_enabled = false ao_enabled = false depth_enabled = false subsurf_scatter_enabled = false transmission_enabled = false refraction_enabled = false detail_enabled = false uv1_scale = Vector3( 1, 1, 1 ) uv1_offset = Vector3( 0, 0, 0 ) uv1_triplanar = false uv1_triplanar_sharpness = 1.0 uv2_scale = Vector3( 1, 1, 1 ) uv2_offset = Vector3( 0, 0, 0 ) uv2_triplanar = false uv2_triplanar_sharpness = 1.0 proximity_fade_enable = false distance_fade_enable = false _sections_unfolded = [ "Albedo", "Distance Fade", "Flags", "Metallic", "Parameters", "Roughness", "Vertex Color" ] [sub_resource type="SphereMesh" id=34] custom_aabb = AABB( 0, 0, 0, 0, 0, 0 ) radius = 1.0 height = 2.0 radial_segments = 64 rings = 32 is_hemisphere = false [sub_resource type="SpatialMaterial" id=35] render_priority = 0 flags_transparent = false flags_unshaded = true flags_vertex_lighting = true flags_no_depth_test = false flags_use_point_size = false flags_world_triplanar = false flags_fixed_size = false flags_albedo_tex_force_srgb = false vertex_color_use_as_albedo = true vertex_color_is_srgb = false params_diffuse_mode = 0 params_specular_mode = 0 params_blend_mode = 0 params_cull_mode = 0 params_depth_draw_mode = 0 params_line_width = 1.0 params_point_size = 1.0 params_billboard_mode = 0 params_grow = false params_use_alpha_scissor = false albedo_color = Color( 1, 0.880188, 0.410156, 1 ) metallic = 0.0 metallic_specular = 0.0 metallic_texture_channel = 0 roughness = 0.0 roughness_texture_channel = 0 emission_enabled = false normal_enabled = false rim_enabled = false clearcoat_enabled = false anisotropy_enabled = false ao_enabled = false depth_enabled = false subsurf_scatter_enabled = false transmission_enabled = false refraction_enabled = false detail_enabled = false uv1_scale = Vector3( 1, 1, 1 ) uv1_offset = Vector3( 0, 0, 0 ) uv1_triplanar = false uv1_triplanar_sharpness = 1.0 uv2_scale = Vector3( 1, 1, 1 ) uv2_offset = Vector3( 0, 0, 0 ) uv2_triplanar = false uv2_triplanar_sharpness = 1.0 proximity_fade_enable = false distance_fade_enable = false _sections_unfolded = [ "Albedo", "Emission", "Flags", "Metallic", "Parameters", "Roughness", "Vertex Color" ] [sub_resource type="PlaneMesh" id=5] custom_aabb = AABB( 0, 0, 0, 0, 0, 0 ) size = Vector2( 2, 2 ) subdivide_width = 0 subdivide_depth = 0 [sub_resource type="ConvexPolygonShape" id=6] points = PoolVector3Array( 1, 0, 1, -1, 0, 1, 1, 0, -1, -1, 0, -1 ) [sub_resource type="GDScript" id=7] script/source = "extends RigidBody func _on_Box_sleeping_state_changed(): if self.sleeping: $MeshInstance.get_surface_material(0).albedo_color = Color( 0.0, 1.0, 0.0, 1 ) else: $MeshInstance.get_surface_material(0).albedo_color = Color( 0.0, 0.0, 1.0, 1 ) " [sub_resource type="CubeMesh" id=8] custom_aabb = AABB( 0, 0, 0, 0, 0, 0 ) size = Vector3( 2, 2, 2 ) subdivide_width = 0 subdivide_height = 0 subdivide_depth = 0 [sub_resource type="SpatialMaterial" id=9] render_priority = 0 flags_transparent = false flags_unshaded = false flags_vertex_lighting = false flags_no_depth_test = false flags_use_point_size = false flags_world_triplanar = false flags_fixed_size = false flags_albedo_tex_force_srgb = false vertex_color_use_as_albedo = true vertex_color_is_srgb = false params_diffuse_mode = 0 params_specular_mode = 0 params_blend_mode = 0 params_cull_mode = 0 params_depth_draw_mode = 0 params_line_width = 1.0 params_point_size = 1.0 params_billboard_mode = 0 params_grow = false params_use_alpha_scissor = false albedo_color = Color( 1, 1, 1, 1 ) albedo_texture = ExtResource( 3 ) metallic = 0.0 metallic_specular = 0.0 metallic_texture_channel = 0 roughness = 1.0 roughness_texture = ExtResource( 7 ) roughness_texture_channel = 0 emission_enabled = false normal_enabled = true normal_scale = 1.0 normal_texture = ExtResource( 6 ) rim_enabled = false clearcoat_enabled = false anisotropy_enabled = false ao_enabled = true ao_light_affect = 0.0 ao_texture = ExtResource( 4 ) ao_on_uv2 = false ao_texture_channel = 0 depth_enabled = true depth_scale = 0.05 depth_deep_parallax = true depth_min_layers = 8 depth_max_layers = 32 depth_texture = ExtResource( 5 ) subsurf_scatter_enabled = false transmission_enabled = false refraction_enabled = false detail_enabled = false uv1_scale = Vector3( 1, 1, 1 ) uv1_offset = Vector3( 0, 0, 0 ) uv1_triplanar = false uv1_triplanar_sharpness = 1.0 uv2_scale = Vector3( 1, 1, 1 ) uv2_offset = Vector3( 0, 0, 0 ) uv2_triplanar = false uv2_triplanar_sharpness = 1.0 proximity_fade_enable = false distance_fade_enable = false _sections_unfolded = [ "Albedo", "Ambient Occlusion", "Clearcoat", "Depth", "Detail", "Distance Fade", "Flags", "Metallic", "NormalMap", "Proximity Fade", "Rim", "Roughness", "Subsurf Scatter", "Transmission", "Vertex Color" ] [sub_resource type="ConvexPolygonShape" id=10] 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="SpatialMaterial" id=11] render_priority = 0 flags_transparent = false flags_unshaded = true flags_vertex_lighting = false flags_no_depth_test = false flags_use_point_size = false flags_world_triplanar = false flags_fixed_size = false flags_albedo_tex_force_srgb = false vertex_color_use_as_albedo = false vertex_color_is_srgb = false params_diffuse_mode = 0 params_specular_mode = 0 params_blend_mode = 1 params_cull_mode = 2 params_depth_draw_mode = 0 params_line_width = 1.0 params_point_size = 1.0 params_billboard_mode = 3 params_grow = false params_use_alpha_scissor = false particles_anim_h_frames = 1 particles_anim_v_frames = 1 particles_anim_loop = 0 albedo_color = Color( 0.390625, 0.390625, 0.390625, 1 ) albedo_texture = ExtResource( 11 ) metallic = 0.0 metallic_specular = 0.5 metallic_texture_channel = 0 roughness = 0.0 roughness_texture_channel = 0 emission_enabled = true emission = Color( 1, 0.886353, 0.617188, 1 ) emission_energy = 1.0 emission_operator = 0 emission_on_uv2 = false normal_enabled = false rim_enabled = false clearcoat_enabled = false anisotropy_enabled = false ao_enabled = false depth_enabled = false subsurf_scatter_enabled = false transmission_enabled = false refraction_enabled = false detail_enabled = false uv1_scale = Vector3( 1, 1, 1 ) uv1_offset = Vector3( 0, 0, 0 ) uv1_triplanar = false uv1_triplanar_sharpness = 1.0 uv2_scale = Vector3( 1, 1, 1 ) uv2_offset = Vector3( 0, 0, 0 ) uv2_triplanar = false uv2_triplanar_sharpness = 1.0 proximity_fade_enable = false distance_fade_enable = false _sections_unfolded = [ "Albedo", "Emission", "Flags", "Parameters", "Particles Anim" ] [sub_resource type="QuadMesh" id=12] material = SubResource( 11 ) custom_aabb = AABB( 0, 0, 0, 0, 0, 0 ) size = Vector2( 0.4, 0.4 ) [sub_resource type="SpatialMaterial" id=13] render_priority = 0 flags_transparent = false flags_unshaded = true flags_vertex_lighting = false flags_no_depth_test = false flags_use_point_size = false flags_world_triplanar = false flags_fixed_size = false flags_albedo_tex_force_srgb = false vertex_color_use_as_albedo = false vertex_color_is_srgb = false params_diffuse_mode = 0 params_specular_mode = 0 params_blend_mode = 1 params_cull_mode = 2 params_depth_draw_mode = 0 params_line_width = 1.0 params_point_size = 1.0 params_billboard_mode = 3 params_grow = false params_use_alpha_scissor = false particles_anim_h_frames = 1 particles_anim_v_frames = 1 particles_anim_loop = 0 albedo_color = Color( 0.390625, 0.390625, 0.390625, 1 ) albedo_texture = ExtResource( 12 ) metallic = 0.0 metallic_specular = 0.5 metallic_texture_channel = 0 roughness = 0.0 roughness_texture_channel = 0 emission_enabled = true emission = Color( 1, 0.886353, 0.617188, 1 ) emission_energy = 1.0 emission_operator = 0 emission_on_uv2 = false emission_texture = ExtResource( 12 ) normal_enabled = false rim_enabled = false clearcoat_enabled = false anisotropy_enabled = false ao_enabled = false depth_enabled = false subsurf_scatter_enabled = false transmission_enabled = false refraction_enabled = false detail_enabled = false uv1_scale = Vector3( 1, 1, 1 ) uv1_offset = Vector3( 0, 0, 0 ) uv1_triplanar = false uv1_triplanar_sharpness = 1.0 uv2_scale = Vector3( 1, 1, 1 ) uv2_offset = Vector3( 0, 0, 0 ) uv2_triplanar = false uv2_triplanar_sharpness = 1.0 proximity_fade_enable = false distance_fade_enable = false _sections_unfolded = [ "Albedo", "Emission", "Flags", "Parameters", "Particles Anim" ] [sub_resource type="QuadMesh" id=14] material = SubResource( 13 ) custom_aabb = AABB( 0, 0, 0, 0, 0, 0 ) size = Vector2( 0.4, 0.4 ) [sub_resource type="Curve" id=15] min_value = -360.0 max_value = 360.0 bake_resolution = 100 _data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 0.959245, 38.6719 ), 89.2918, 89.2918, 0, 0, Vector2( 1, 324.844 ), 17644.8, 0.0, 0, 0 ] [sub_resource type="CurveTexture" id=16] flags = 4 width = 2048 curve = SubResource( 15 ) [sub_resource type="Gradient" id=17] offsets = PoolRealArray( 0, 0.0788644, 0.514196, 0.851735, 1 ) colors = PoolColorArray( 1, 1, 1, 0.359098, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.911608, 1, 1, 1, 0 ) [sub_resource type="GradientTexture" id=18] flags = 4 gradient = SubResource( 17 ) width = 2048 [sub_resource type="ParticlesMaterial" id=19] render_priority = 0 trail_divisor = 1 emission_shape = 2 emission_box_extents = Vector3( 0.07, 0.07, 0.07 ) flag_align_y = false flag_rotate_y = false flag_disable_z = false spread = 2.0 flatness = 0.0 gravity = Vector3( 0, 0.05, 0 ) initial_velocity = 0.0 initial_velocity_random = 0.0 angular_velocity = 35.0 angular_velocity_random = 1.0 angular_velocity_curve = SubResource( 16 ) linear_accel = 0.01 linear_accel_random = 0.0 radial_accel = 0.0 radial_accel_random = 0.0 tangential_accel = 0.0 tangential_accel_random = 0.06 damping = 0.0 damping_random = 0.0 angle = 10.0 angle_random = 0.0 scale = 1.0 scale_random = 0.0 color_ramp = SubResource( 18 ) hue_variation = 0.0 hue_variation_random = 0.0 anim_speed = 50.0 anim_speed_random = 0.0 anim_offset = 0.14 anim_offset_random = 0.0 anim_loop = true _sections_unfolded = [ "Angle", "Angular Velocity", "Animation", "Color", "Damping", "Emission Shape", "Flags", "Gravity", "Hue Variation", "Initial Velocity", "Linear Accel", "Radial Accel", "Resource", "Scale", "Spread", "Tangential Accel", "Trail" ] [sub_resource type="SpatialMaterial" id=20] render_priority = 0 flags_transparent = false flags_unshaded = true flags_vertex_lighting = false flags_no_depth_test = false flags_use_point_size = false flags_world_triplanar = false flags_fixed_size = false flags_albedo_tex_force_srgb = false vertex_color_use_as_albedo = false vertex_color_is_srgb = false params_diffuse_mode = 0 params_specular_mode = 0 params_blend_mode = 1 params_cull_mode = 2 params_depth_draw_mode = 0 params_line_width = 1.0 params_point_size = 1.0 params_billboard_mode = 3 params_grow = false params_use_alpha_scissor = false particles_anim_h_frames = 1 particles_anim_v_frames = 1 particles_anim_loop = 0 albedo_color = Color( 1, 1, 1, 1 ) albedo_texture = ExtResource( 11 ) metallic = 0.0 metallic_specular = 0.5 metallic_texture_channel = 0 roughness = 0.0 roughness_texture_channel = 0 emission_enabled = true emission = Color( 1, 0.886353, 0.617188, 1 ) emission_energy = 1.0 emission_operator = 0 emission_on_uv2 = false normal_enabled = false rim_enabled = false clearcoat_enabled = false anisotropy_enabled = false ao_enabled = false depth_enabled = false subsurf_scatter_enabled = false transmission_enabled = false refraction_enabled = false detail_enabled = false uv1_scale = Vector3( 1, 1, 1 ) uv1_offset = Vector3( 0, 0, 0 ) uv1_triplanar = false uv1_triplanar_sharpness = 1.0 uv2_scale = Vector3( 1, 1, 1 ) uv2_offset = Vector3( 0, 0, 0 ) uv2_triplanar = false uv2_triplanar_sharpness = 1.0 proximity_fade_enable = false distance_fade_enable = false _sections_unfolded = [ "Albedo", "Emission", "Flags", "Parameters", "Particles Anim" ] [sub_resource type="QuadMesh" id=21] material = SubResource( 20 ) custom_aabb = AABB( 0, 0, 0, 0, 0, 0 ) size = Vector2( 0.4, 0.4 ) [sub_resource type="SpatialMaterial" id=22] render_priority = 0 flags_transparent = false flags_unshaded = true flags_vertex_lighting = false flags_no_depth_test = false flags_use_point_size = false flags_world_triplanar = false flags_fixed_size = false flags_albedo_tex_force_srgb = false vertex_color_use_as_albedo = false vertex_color_is_srgb = false params_diffuse_mode = 0 params_specular_mode = 0 params_blend_mode = 1 params_cull_mode = 2 params_depth_draw_mode = 0 params_line_width = 1.0 params_point_size = 1.0 params_billboard_mode = 3 params_grow = false params_use_alpha_scissor = false particles_anim_h_frames = 1 particles_anim_v_frames = 1 particles_anim_loop = 0 albedo_color = Color( 1, 1, 1, 1 ) albedo_texture = ExtResource( 12 ) metallic = 0.0 metallic_specular = 0.5 metallic_texture_channel = 0 roughness = 0.0 roughness_texture_channel = 0 emission_enabled = true emission = Color( 1, 0.886353, 0.617188, 1 ) emission_energy = 1.0 emission_operator = 0 emission_on_uv2 = false emission_texture = ExtResource( 12 ) normal_enabled = false rim_enabled = false clearcoat_enabled = false anisotropy_enabled = false ao_enabled = false depth_enabled = false subsurf_scatter_enabled = false transmission_enabled = false refraction_enabled = false detail_enabled = false uv1_scale = Vector3( 1, 1, 1 ) uv1_offset = Vector3( 0, 0, 0 ) uv1_triplanar = false uv1_triplanar_sharpness = 1.0 uv2_scale = Vector3( 1, 1, 1 ) uv2_offset = Vector3( 0, 0, 0 ) uv2_triplanar = false uv2_triplanar_sharpness = 1.0 proximity_fade_enable = false distance_fade_enable = false _sections_unfolded = [ "Albedo", "Emission", "Flags", "Parameters", "Particles Anim" ] [sub_resource type="QuadMesh" id=23] material = SubResource( 22 ) custom_aabb = AABB( 0, 0, 0, 0, 0, 0 ) size = Vector2( 0.4, 0.4 ) [sub_resource type="ParticlesMaterial" id=24] render_priority = 0 trail_divisor = 1 emission_shape = 2 emission_box_extents = Vector3( 0.07, 0.07, 0.07 ) flag_align_y = false flag_rotate_y = false flag_disable_z = false spread = 2.0 flatness = 0.0 gravity = Vector3( 0, 0.05, 0 ) initial_velocity = 0.0 initial_velocity_random = 0.0 angular_velocity = 35.0 angular_velocity_random = 1.0 angular_velocity_curve = SubResource( 16 ) linear_accel = 0.01 linear_accel_random = 0.0 radial_accel = 0.0 radial_accel_random = 0.0 tangential_accel = 0.0 tangential_accel_random = 0.06 damping = 0.0 damping_random = 0.0 angle = 10.0 angle_random = 0.0 scale = 1.0 scale_random = 0.0 color_ramp = SubResource( 18 ) hue_variation = 0.0 hue_variation_random = 0.0 anim_speed = 50.0 anim_speed_random = 0.0 anim_offset = 0.14 anim_offset_random = 0.0 anim_loop = true _sections_unfolded = [ "Angle", "Angular Velocity", "Animation", "Color", "Damping", "Emission Shape", "Flags", "Gravity", "Hue Variation", "Initial Velocity", "Linear Accel", "Radial Accel", "Resource", "Scale", "Spread", "Tangential Accel", "Trail" ] [sub_resource type="SpatialMaterial" id=25] render_priority = 0 flags_transparent = false flags_unshaded = true flags_vertex_lighting = false flags_no_depth_test = false flags_use_point_size = false flags_world_triplanar = false flags_fixed_size = false flags_albedo_tex_force_srgb = false vertex_color_use_as_albedo = false vertex_color_is_srgb = false params_diffuse_mode = 0 params_specular_mode = 0 params_blend_mode = 1 params_cull_mode = 2 params_depth_draw_mode = 0 params_line_width = 1.0 params_point_size = 1.0 params_billboard_mode = 3 params_grow = false params_use_alpha_scissor = false particles_anim_h_frames = 1 particles_anim_v_frames = 1 particles_anim_loop = 0 albedo_color = Color( 0.0078125, 0, 1, 1 ) albedo_texture = ExtResource( 11 ) metallic = 0.0 metallic_specular = 0.5 metallic_texture_channel = 0 roughness = 0.0 roughness_texture_channel = 0 emission_enabled = true emission = Color( 1, 0.886353, 0.617188, 1 ) emission_energy = 1.0 emission_operator = 0 emission_on_uv2 = false normal_enabled = false rim_enabled = false clearcoat_enabled = false anisotropy_enabled = false ao_enabled = false depth_enabled = false subsurf_scatter_enabled = false transmission_enabled = false refraction_enabled = false detail_enabled = false uv1_scale = Vector3( 1, 1, 1 ) uv1_offset = Vector3( 0, 0, 0 ) uv1_triplanar = false uv1_triplanar_sharpness = 1.0 uv2_scale = Vector3( 1, 1, 1 ) uv2_offset = Vector3( 0, 0, 0 ) uv2_triplanar = false uv2_triplanar_sharpness = 1.0 proximity_fade_enable = false distance_fade_enable = false _sections_unfolded = [ "Albedo", "Emission", "Flags", "Parameters", "Particles Anim" ] [sub_resource type="QuadMesh" id=26] material = SubResource( 25 ) custom_aabb = AABB( 0, 0, 0, 0, 0, 0 ) size = Vector2( 0.4, 0.4 ) [sub_resource type="SpatialMaterial" id=27] render_priority = 0 flags_transparent = false flags_unshaded = true flags_vertex_lighting = false flags_no_depth_test = false flags_use_point_size = false flags_world_triplanar = false flags_fixed_size = false flags_albedo_tex_force_srgb = false vertex_color_use_as_albedo = false vertex_color_is_srgb = false params_diffuse_mode = 0 params_specular_mode = 0 params_blend_mode = 1 params_cull_mode = 2 params_depth_draw_mode = 0 params_line_width = 1.0 params_point_size = 1.0 params_billboard_mode = 3 params_grow = false params_use_alpha_scissor = false particles_anim_h_frames = 1 particles_anim_v_frames = 1 particles_anim_loop = 0 albedo_color = Color( 0, 0.015625, 1, 1 ) albedo_texture = ExtResource( 12 ) metallic = 0.0 metallic_specular = 0.5 metallic_texture_channel = 0 roughness = 0.0 roughness_texture_channel = 0 emission_enabled = true emission = Color( 1, 0.886353, 0.617188, 1 ) emission_energy = 1.0 emission_operator = 0 emission_on_uv2 = false emission_texture = ExtResource( 12 ) normal_enabled = false rim_enabled = false clearcoat_enabled = false anisotropy_enabled = false ao_enabled = false depth_enabled = false subsurf_scatter_enabled = false transmission_enabled = false refraction_enabled = false detail_enabled = false uv1_scale = Vector3( 1, 1, 1 ) uv1_offset = Vector3( 0, 0, 0 ) uv1_triplanar = false uv1_triplanar_sharpness = 1.0 uv2_scale = Vector3( 1, 1, 1 ) uv2_offset = Vector3( 0, 0, 0 ) uv2_triplanar = false uv2_triplanar_sharpness = 1.0 proximity_fade_enable = false distance_fade_enable = false _sections_unfolded = [ "Albedo", "Emission", "Flags", "Parameters", "Particles Anim" ] [sub_resource type="QuadMesh" id=28] material = SubResource( 27 ) custom_aabb = AABB( 0, 0, 0, 0, 0, 0 ) size = Vector2( 0.4, 0.4 ) [sub_resource type="ParticlesMaterial" id=29] render_priority = 0 trail_divisor = 1 emission_shape = 2 emission_box_extents = Vector3( 0.07, 0.07, 0.07 ) flag_align_y = false flag_rotate_y = false flag_disable_z = false spread = 2.0 flatness = 0.0 gravity = Vector3( 0, 0.05, 0 ) initial_velocity = 0.0 initial_velocity_random = 0.0 angular_velocity = 35.0 angular_velocity_random = 1.0 angular_velocity_curve = SubResource( 16 ) linear_accel = 0.01 linear_accel_random = 0.0 radial_accel = 0.0 radial_accel_random = 0.0 tangential_accel = 0.0 tangential_accel_random = 0.06 damping = 0.0 damping_random = 0.0 angle = 10.0 angle_random = 0.0 scale = 1.0 scale_random = 0.0 color_ramp = SubResource( 18 ) hue_variation = 0.0 hue_variation_random = 0.0 anim_speed = 50.0 anim_speed_random = 0.0 anim_offset = 0.14 anim_offset_random = 0.0 anim_loop = true _sections_unfolded = [ "Angle", "Angular Velocity", "Animation", "Color", "Damping", "Emission Shape", "Flags", "Gravity", "Hue Variation", "Initial Velocity", "Linear Accel", "Radial Accel", "Resource", "Scale", "Spread", "Tangential Accel", "Trail" ] [sub_resource type="SpatialMaterial" id=30] render_priority = 0 flags_transparent = false flags_unshaded = true flags_vertex_lighting = false flags_no_depth_test = false flags_use_point_size = false flags_world_triplanar = false flags_fixed_size = false flags_albedo_tex_force_srgb = false vertex_color_use_as_albedo = false vertex_color_is_srgb = false params_diffuse_mode = 0 params_specular_mode = 0 params_blend_mode = 1 params_cull_mode = 2 params_depth_draw_mode = 0 params_line_width = 1.0 params_point_size = 1.0 params_billboard_mode = 3 params_grow = false params_use_alpha_scissor = false particles_anim_h_frames = 1 particles_anim_v_frames = 1 particles_anim_loop = 0 albedo_color = Color( 0.125, 1, 0, 1 ) albedo_texture = ExtResource( 11 ) metallic = 0.0 metallic_specular = 0.5 metallic_texture_channel = 0 roughness = 0.0 roughness_texture_channel = 0 emission_enabled = true emission = Color( 1, 0.886353, 0.617188, 1 ) emission_energy = 1.0 emission_operator = 0 emission_on_uv2 = false normal_enabled = false rim_enabled = false clearcoat_enabled = false anisotropy_enabled = false ao_enabled = false depth_enabled = false subsurf_scatter_enabled = false transmission_enabled = false refraction_enabled = false detail_enabled = false uv1_scale = Vector3( 1, 1, 1 ) uv1_offset = Vector3( 0, 0, 0 ) uv1_triplanar = false uv1_triplanar_sharpness = 1.0 uv2_scale = Vector3( 1, 1, 1 ) uv2_offset = Vector3( 0, 0, 0 ) uv2_triplanar = false uv2_triplanar_sharpness = 1.0 proximity_fade_enable = false distance_fade_enable = false _sections_unfolded = [ "Albedo", "Emission", "Flags", "Parameters", "Particles Anim" ] [sub_resource type="QuadMesh" id=31] material = SubResource( 30 ) custom_aabb = AABB( 0, 0, 0, 0, 0, 0 ) size = Vector2( 0.4, 0.4 ) [sub_resource type="SpatialMaterial" id=32] render_priority = 0 flags_transparent = false flags_unshaded = true flags_vertex_lighting = false flags_no_depth_test = false flags_use_point_size = false flags_world_triplanar = false flags_fixed_size = false flags_albedo_tex_force_srgb = false vertex_color_use_as_albedo = false vertex_color_is_srgb = false params_diffuse_mode = 0 params_specular_mode = 0 params_blend_mode = 1 params_cull_mode = 2 params_depth_draw_mode = 0 params_line_width = 1.0 params_point_size = 1.0 params_billboard_mode = 3 params_grow = false params_use_alpha_scissor = false particles_anim_h_frames = 1 particles_anim_v_frames = 1 particles_anim_loop = 0 albedo_color = Color( 0.078125, 1, 0, 1 ) albedo_texture = ExtResource( 12 ) metallic = 0.0 metallic_specular = 0.5 metallic_texture_channel = 0 roughness = 0.0 roughness_texture_channel = 0 emission_enabled = true emission = Color( 1, 0.886353, 0.617188, 1 ) emission_energy = 1.0 emission_operator = 0 emission_on_uv2 = false emission_texture = ExtResource( 12 ) normal_enabled = false rim_enabled = false clearcoat_enabled = false anisotropy_enabled = false ao_enabled = false depth_enabled = false subsurf_scatter_enabled = false transmission_enabled = false refraction_enabled = false detail_enabled = false uv1_scale = Vector3( 1, 1, 1 ) uv1_offset = Vector3( 0, 0, 0 ) uv1_triplanar = false uv1_triplanar_sharpness = 1.0 uv2_scale = Vector3( 1, 1, 1 ) uv2_offset = Vector3( 0, 0, 0 ) uv2_triplanar = false uv2_triplanar_sharpness = 1.0 proximity_fade_enable = false distance_fade_enable = false _sections_unfolded = [ "Albedo", "Emission", "Flags", "Parameters", "Particles Anim" ] [sub_resource type="QuadMesh" id=33] material = SubResource( 32 ) custom_aabb = AABB( 0, 0, 0, 0, 0, 0 ) size = Vector2( 0.4, 0.4 ) [node name="Game" type="Spatial" index="0"] _sections_unfolded = [ "Transform" ] [node name="World" type="Spatial" parent="." index="0"] _sections_unfolded = [ "Transform", "Visibility" ] [node name="WorldEnvironment" type="WorldEnvironment" parent="World" index="0"] editor/display_folded = true environment = SubResource( 2 ) script = ExtResource( 1 ) [node name="sky_sphere" type="MeshInstance" parent="World/WorldEnvironment" index="0"] transform = Transform( 1725, 0, 0, 0, 1725, 0, 0, 0, 1725, 0, 0, 0 ) layers = 1 material_override = null cast_shadow = 0 extra_cull_margin = 0.0 use_in_baked_light = false lod_min_distance = 0.0 lod_min_hysteresis = 0.0 lod_max_distance = 0.0 lod_max_hysteresis = 0.0 mesh = SubResource( 3 ) skeleton = NodePath("..") material/0 = SubResource( 4 ) _sections_unfolded = [ "Geometry", "LOD", "Transform", "Visibility", "material" ] [node name="sun" type="DirectionalLight" parent="World/WorldEnvironment" index="1"] transform = Transform( -1, 6.18172e-008, -6.18172e-008, 0, 0.707107, 0.707107, 8.74228e-008, 0.707107, -0.707107, 70.2802, 47.1382, -58.3782 ) layers = 1 light_color = Color( 1, 0.97937, 0.898438, 1 ) light_energy = 1.0 light_indirect_energy = 1.0 light_negative = false light_specular = 0.5 light_bake_mode = 1 light_cull_mask = -1 shadow_enabled = true shadow_color = Color( 0, 0, 0, 1 ) shadow_bias = 0.1 shadow_contact = 0.01 shadow_reverse_cull_face = false editor_only = false directional_shadow_mode = 2 directional_shadow_split_1 = 0.1 directional_shadow_split_2 = 0.2 directional_shadow_split_3 = 0.5 directional_shadow_blend_splits = false directional_shadow_normal_bias = 0.8 directional_shadow_bias_split_scale = 0.25 directional_shadow_depth_range = 0 directional_shadow_max_distance = 200.0 _sections_unfolded = [ "Directional Shadow", "Light", "Omni", "Shadow", "Transform" ] [node name="mesh_instance" type="MeshInstance" parent="World/WorldEnvironment/sun" index="0"] transform = Transform( -29.2003, 2.86102e-006, -3.8147e-006, -1.81198e-005, -29.2003, 5.24521e-006, 1.43051e-005, 4.29153e-006, -29.2003, -940.304, -1146.3, 849.321 ) layers = 1 material_override = null cast_shadow = 1 extra_cull_margin = 0.0 use_in_baked_light = false lod_min_distance = 0.0 lod_min_hysteresis = 0.0 lod_max_distance = 0.0 lod_max_hysteresis = 0.0 mesh = SubResource( 34 ) skeleton = NodePath("..") material/0 = SubResource( 35 ) _sections_unfolded = [ "material" ] [node name="OmniLight" type="OmniLight" parent="World" index="1"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -7.04032, 2.49231, -0.037137 ) layers = 1 light_color = Color( 1, 0.547607, 0.148438, 1 ) light_energy = 1.0 light_indirect_energy = 1.0 light_negative = false light_specular = 0.5 light_bake_mode = 1 light_cull_mask = -1 shadow_enabled = true shadow_color = Color( 0, 0, 0, 1 ) shadow_bias = 0.1 shadow_contact = 0.05 shadow_reverse_cull_face = false editor_only = false omni_range = 14.7813 omni_attenuation = 2.0 omni_shadow_mode = 1 omni_shadow_detail = 1 _sections_unfolded = [ "Editor", "Light", "Omni", "Shadow", "Visibility" ] [node name="gi_probe" type="GIProbe" parent="World" index="2"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 7, 0 ) layers = 1 subdiv = 1 extents = Vector3( 28.334, 10, 28.8282 ) dynamic_range = 4 energy = 1.0 propagation = 0.7 bias = 1.5 normal_bias = 0.0 interior = false compress = false data = null [node name="reflection_probe" type="ReflectionProbe" parent="World" index="3"] transform = Transform( 1, 0, 0, 0, 1.14389, 0, 0, 0, 1, 0, 6.52371, 0 ) layers = 1 update_mode = 0 intensity = 1.0 max_distance = 0.0 extents = Vector3( 28.4869, 7.50169, 29.2071 ) origin_offset = Vector3( 0, 0, 0 ) box_projection = false enable_shadows = false cull_mask = 1048575 interior_enable = false interior_ambient_color = Color( 0, 0, 0, 1 ) interior_ambient_energy = 1.0 interior_ambient_contrib = 0.0 [node name="ground" type="MeshInstance" parent="World" index="4"] editor/display_folded = true transform = Transform( 28.4792, 0, 0, 0, 28.4792, 0, 0, 0, 28.4792, 0, 0.0258336, 0 ) layers = 1 material_override = null cast_shadow = 1 extra_cull_margin = 0.0 use_in_baked_light = false lod_min_distance = 0.0 lod_min_hysteresis = 0.0 lod_max_distance = 0.0 lod_max_hysteresis = 0.0 mesh = SubResource( 5 ) skeleton = NodePath("..") material/0 = null [node name="static_body" type="StaticBody" parent="World/ground" index="0"] input_ray_pickable = true input_capture_on_drag = false collision_layer = 1 collision_mask = 1 friction = 1.0 bounce = 0.0 constant_linear_velocity = Vector3( 0, 0, 0 ) constant_angular_velocity = Vector3( 0, 0, 0 ) [node name="collision_shape" type="CollisionShape" parent="World/ground/static_body" index="0"] shape = SubResource( 6 ) disabled = false [node name="Box" type="RigidBody" parent="World" index="5"] editor/display_folded = true transform = Transform( 0.640199, 0.768209, 0, -0.650662, 0.542239, -0.531616, -0.408393, 0.34034, 0.846985, 1.68693, 3.13013, -6.48976 ) input_ray_pickable = true input_capture_on_drag = false collision_layer = 1 collision_mask = 1 mode = 0 mass = 1020.41 friction = 1.0 bounce = 0.0 gravity_scale = 1.0 custom_integrator = false continuous_cd = false contacts_reported = 0 contact_monitor = false sleeping = false can_sleep = true axis_lock_linear_x = false axis_lock_linear_y = false axis_lock_linear_z = false axis_lock_angular_x = false axis_lock_angular_y = false axis_lock_angular_z = false linear_velocity = Vector3( 0, 0, 0 ) linear_damp = -1.0 angular_velocity = Vector3( 0, 0, 0 ) angular_damp = -1.0 script = SubResource( 7 ) _sections_unfolded = [ "Collision" ] [node name="MeshInstance" type="MeshInstance" parent="World/Box" index="0"] transform = Transform( 1, 1.49012e-008, 0, 2.68221e-007, 1, -5.96046e-008, -2.98023e-008, 1.19209e-007, 1, 0.0656062, -0.054674, 0.0536029 ) layers = 1 material_override = null cast_shadow = 1 extra_cull_margin = 0.0 use_in_baked_light = false lod_min_distance = 0.0 lod_min_hysteresis = 0.0 lod_max_distance = 0.0 lod_max_hysteresis = 0.0 mesh = SubResource( 8 ) skeleton = NodePath("..") material/0 = SubResource( 9 ) _sections_unfolded = [ "Geometry", "LOD", "material" ] [node name="CollisionShape" type="CollisionShape" parent="World/Box" index="1"] transform = Transform( 1, -1.49012e-008, 0, 2.68221e-007, 1, -1.19209e-007, -2.98023e-008, 2.68221e-007, 1, 0.0507725, -0.0524313, 0.0583506 ) shape = SubResource( 10 ) disabled = false _sections_unfolded = [ "Transform" ] [node name="Box2" type="RigidBody" parent="World" index="6"] editor/display_folded = true transform = Transform( 0.640199, 0.768209, 0, -0.650662, 0.542239, -0.531616, -0.408393, 0.34034, 0.846985, -3.00203, 8.74323, -4.47902 ) input_ray_pickable = true input_capture_on_drag = false collision_layer = 1 collision_mask = 1 mode = 0 mass = 1020.41 friction = 1.0 bounce = 0.0 gravity_scale = 1.0 custom_integrator = false continuous_cd = false contacts_reported = 0 contact_monitor = false sleeping = false can_sleep = true axis_lock_linear_x = false axis_lock_linear_y = false axis_lock_linear_z = false axis_lock_angular_x = false axis_lock_angular_y = false axis_lock_angular_z = false linear_velocity = Vector3( 0, 0, 0 ) linear_damp = -1.0 angular_velocity = Vector3( 0, 0, 0 ) angular_damp = -1.0 script = ExtResource( 8 ) _sections_unfolded = [ "Collision" ] [node name="MeshInstance" type="MeshInstance" parent="World/Box2" index="0"] transform = Transform( 1, 1.49012e-008, 0, 2.68221e-007, 1, -5.96046e-008, -2.98023e-008, 1.19209e-007, 1, 0.0656062, -0.054674, 0.0536029 ) layers = 1 material_override = null cast_shadow = 1 extra_cull_margin = 0.0 use_in_baked_light = false lod_min_distance = 0.0 lod_min_hysteresis = 0.0 lod_max_distance = 0.0 lod_max_hysteresis = 0.0 mesh = SubResource( 8 ) skeleton = NodePath("..") material/0 = SubResource( 9 ) _sections_unfolded = [ "Geometry", "LOD", "Visibility", "material" ] [node name="CollisionShape" type="CollisionShape" parent="World/Box2" index="1"] transform = Transform( 1, 1.49012e-008, 0, 1.3411e-007, 1, 0, 2.98023e-008, -2.98023e-008, 1, 0, 0, 0 ) shape = SubResource( 10 ) disabled = false _sections_unfolded = [ "Transform" ] [node name="CubeShaderTest" parent="World" index="7" instance=ExtResource( 9 )] transform = Transform( -0.471909, 0, -0.881647, 0, 1, 0, 0.881647, 0, -0.471909, 4, 2, 3.11353 ) friction = 0.2 bounce = 0.75 [node name="fire_01" parent="World/CubeShaderTest" index="2" instance=ExtResource( 10 )] transform = Transform( -1.5494, 0, 2.89468, 0, 1, 0, -2.89468, 0, -1.5494, 0, 1.1836, 0 ) visibility_aabb = AABB( -4, -4.04395, -3.96729, 8, 8, 8 ) draw_passes = 2 draw_pass_1 = SubResource( 12 ) draw_pass_2 = SubResource( 14 ) [node name="fire_02" parent="World/CubeShaderTest" index="3" instance=ExtResource( 10 )] transform = Transform( -1.5494, 0, 2.89468, 0, 1, 0, -2.89468, 0, -1.5494, -0.574282, 0.104018, -1.07291 ) visibility_aabb = AABB( -4, -4.04395, -3.96729, 8, 8, 8 ) process_material = SubResource( 19 ) draw_passes = 2 draw_pass_1 = SubResource( 21 ) draw_pass_2 = SubResource( 23 ) [node name="fire_03" parent="World/CubeShaderTest" index="4" instance=ExtResource( 10 )] transform = Transform( -1.5494, 0, 2.89468, 0, 1, 0, -2.89468, 0, -1.5494, 0.573787, 0.104018, 1.07198 ) visibility_aabb = AABB( -4, -4.04395, -3.96729, 8, 8, 8 ) process_material = SubResource( 24 ) draw_passes = 2 draw_pass_1 = SubResource( 26 ) draw_pass_2 = SubResource( 28 ) [node name="fire_04" parent="World/CubeShaderTest" index="5" instance=ExtResource( 10 )] transform = Transform( -1.5494, 0, 2.89468, 0, 1, 0, -2.89468, 0, -1.5494, 0.00931847, -1.29484, 0.0174088 ) visibility_aabb = AABB( -4, -4.04395, -3.96729, 8, 8, 8 ) process_material = SubResource( 29 ) draw_passes = 2 draw_pass_1 = SubResource( 31 ) draw_pass_2 = SubResource( 33 ) [node name="jukebox" parent="World" index="8" instance=ExtResource( 13 )] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -7.67816, 0.00211585, 0 ) [node name="portail" parent="World" index="9" instance=ExtResource( 14 )] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 12.1976 ) scene_path = "res://test_scene/test_scene.tscn" [node name="portail2" parent="World" index="10" instance=ExtResource( 14 )] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -5.01158, 0, 12.1976 ) scene_path = "res://test_grid_map/test_grid_map.tscn" [connection signal="sleeping_state_changed" from="World/Box" to="World/Box" method="_on_Box_sleeping_state_changed"] [connection signal="sleeping_state_changed" from="World/Box2" to="World/Box2" method="_on_Box_sleeping_state_changed"]