181 lines
6.3 KiB
Text
181 lines
6.3 KiB
Text
[gd_scene load_steps=23 format=2]
|
|
|
|
[ext_resource path="res://scenes/player/player.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://scenes/decors/terrains/demo/demo_2.tscn" type="PackedScene" id=2]
|
|
[ext_resource path="res://scenes/game/game.gd" type="Script" id=3]
|
|
[ext_resource path="res://assets/interfaces/fx/trauma_fx.shader" type="Shader" id=4]
|
|
[ext_resource path="res://assets/sky/sky.shader" type="Shader" id=5]
|
|
[ext_resource path="res://scenes/game/sky.gd" type="Script" id=6]
|
|
[ext_resource path="res://assets/mist/mist.shader" type="Shader" id=7]
|
|
[ext_resource path="res://assets/interfaces/debug_window/debug_window.tscn" type="PackedScene" id=8]
|
|
[ext_resource path="res://assets/decors/terrains/demo/water/water_fx.shader" type="Shader" id=10]
|
|
[ext_resource path="res://scenes/interfaces/game_menu/game_ui.tscn" type="PackedScene" id=11]
|
|
|
|
[sub_resource type="OpenSimplexNoise" id=1]
|
|
period = 8.0
|
|
|
|
[sub_resource type="NoiseTexture" id=2]
|
|
resource_local_to_scene = true
|
|
width = 1280
|
|
height = 720
|
|
seamless = true
|
|
noise = SubResource( 1 )
|
|
|
|
[sub_resource type="ShaderMaterial" id=3]
|
|
resource_local_to_scene = true
|
|
shader = ExtResource( 5 )
|
|
shader_param/iTime = 4.27346
|
|
shader_param/iFrame = 402
|
|
shader_param/COVERAGE = 0.5
|
|
shader_param/THICKNESS = 25.0
|
|
shader_param/ABSORPTION = 1.031
|
|
shader_param/STEPS = 50
|
|
shader_param/earth_radius_km = 6371.0
|
|
shader_param/atmo_radius_km = 6471.0
|
|
shader_param/cam_height_m = 1.8
|
|
shader_param/sun_pos = Vector3( -1.15706e-06, 100, 8.66537e-06 )
|
|
shader_param/sun_intensity = 128.0
|
|
shader_param/rayleigh_coeff = Vector3( 5.5, 13, 22.4 )
|
|
shader_param/mie_coeff = 21.0
|
|
shader_param/rayleigh_scale = 400.0
|
|
shader_param/mie_scale = 60.0
|
|
shader_param/mie_scatter_dir = 0.758
|
|
shader_param/rotate_night_sky = null
|
|
shader_param/iChannel0 = SubResource( 2 )
|
|
|
|
[sub_resource type="ImageTexture" id=4]
|
|
resource_local_to_scene = true
|
|
size = Vector2( 1280, 720 )
|
|
|
|
[sub_resource type="ViewportTexture" id=5]
|
|
viewport_path = NodePath("sky/viewport")
|
|
|
|
[sub_resource type="PanoramaSky" id=6]
|
|
resource_local_to_scene = true
|
|
panorama = SubResource( 5 )
|
|
|
|
[sub_resource type="Environment" id=7]
|
|
resource_local_to_scene = true
|
|
background_mode = 2
|
|
background_sky = SubResource( 6 )
|
|
background_energy = 0.1
|
|
ambient_light_color = Color( 0.647059, 0.968627, 0.984314, 1 )
|
|
ambient_light_energy = 0.25
|
|
ambient_light_sky_contribution = 0.5
|
|
fog_color = Color( 1, 1, 1, 1 )
|
|
fog_sun_color = Color( 1, 1, 1, 1 )
|
|
fog_depth_end = 463.6
|
|
fog_transmit_enabled = true
|
|
tonemap_mode = 3
|
|
ss_reflections_enabled = true
|
|
ss_reflections_roughness = false
|
|
ssao_enabled = true
|
|
dof_blur_far_distance = 75.36
|
|
dof_blur_far_transition = 19.64
|
|
glow_bloom = 0.27
|
|
adjustment_enabled = true
|
|
adjustment_saturation = 2.0
|
|
|
|
[sub_resource type="GIProbeData" id=8]
|
|
bounds = AABB( -200, -200, -200, 400, 400, 400 )
|
|
cell_size = 3.125
|
|
to_cell_xform = Transform( 0.32, 0, 0, 0, 0.32, 0, 0, 0, 0.32, 64, 64, 64 )
|
|
dynamic_data = PoolIntArray( 0, 8, 128, 128, 128, 1, 0, 3, 5, 3, 7, 5, 8, 10, 12, 10, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 8355711, 0 )
|
|
dynamic_range = 4
|
|
bias = 1.5
|
|
normal_bias = 0.0
|
|
propagation = 0.7
|
|
|
|
[sub_resource type="QuadMesh" id=9]
|
|
size = Vector2( 2, 2 )
|
|
|
|
[sub_resource type="ShaderMaterial" id=10]
|
|
shader = ExtResource( 7 )
|
|
shader_param/mist_level = 0.0
|
|
shader_param/mist_color = Color( 1, 0, 1, 1 )
|
|
shader_param/mist_height = 0.0
|
|
shader_param/mist_distance = 25.0
|
|
|
|
[sub_resource type="ShaderMaterial" id=11]
|
|
shader = ExtResource( 4 )
|
|
shader_param/mist_level = 0.0
|
|
shader_param/blur_amount = null
|
|
|
|
[sub_resource type="ShaderMaterial" id=12]
|
|
shader = ExtResource( 10 )
|
|
shader_param/mist_level = 0.0
|
|
shader_param/mist_color = Color( 0.0156863, 0.411765, 0.545098, 1 )
|
|
shader_param/mist_height = 0.0
|
|
shader_param/mist_distance = 5.0
|
|
|
|
[node name="game" type="Spatial"]
|
|
script = ExtResource( 3 )
|
|
|
|
[node name="sky" type="Spatial" parent="."]
|
|
|
|
[node name="viewport" type="Viewport" parent="sky"]
|
|
size = Vector2( 1280, 720 )
|
|
render_target_update_mode = 3
|
|
|
|
[node name="sky" type="Sprite" parent="sky/viewport"]
|
|
material = SubResource( 3 )
|
|
texture = SubResource( 4 )
|
|
offset = Vector2( 640, 360 )
|
|
script = ExtResource( 6 )
|
|
editor_clouds_playing = true
|
|
directional_light_node_path = NodePath("../../sun")
|
|
sun_position = Vector3( -1.15706e-06, 100, 8.66537e-06 )
|
|
|
|
[node name="sun" type="DirectionalLight" parent="sky"]
|
|
transform = Transform( 0.991203, 0.132352, -1.15706e-08, 0, 8.74228e-08, 1, 0.132352, -0.991203, 8.66537e-08, -1.15706e-06, 100, 8.66537e-06 )
|
|
shadow_enabled = true
|
|
|
|
[node name="world_environment" type="WorldEnvironment" parent="."]
|
|
environment = SubResource( 7 )
|
|
|
|
[node name="gi_probe" type="GIProbe" parent="."]
|
|
extents = Vector3( 200, 200, 200 )
|
|
data = SubResource( 8 )
|
|
|
|
[node name="level" type="Spatial" parent="."]
|
|
|
|
[node name="demo" parent="level" instance=ExtResource( 2 )]
|
|
|
|
[node name="creatures" type="Spatial" parent="."]
|
|
|
|
[node name="player" parent="creatures" instance=ExtResource( 1 )]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -34.9568, 20.7881, -53.4902 )
|
|
|
|
[node name="npcs" type="Spatial" parent="creatures"]
|
|
|
|
[node name="mist_fx" type="MeshInstance" parent="."]
|
|
cast_shadow = 0
|
|
extra_cull_margin = 16384.0
|
|
mesh = SubResource( 9 )
|
|
material/0 = SubResource( 10 )
|
|
|
|
[node name="trauma_fx" type="MeshInstance" parent="."]
|
|
cast_shadow = 0
|
|
extra_cull_margin = 16384.0
|
|
mesh = SubResource( 9 )
|
|
material/0 = SubResource( 11 )
|
|
|
|
[node name="water_fx" type="MeshInstance" parent="."]
|
|
cast_shadow = 0
|
|
extra_cull_margin = 16384.0
|
|
mesh = SubResource( 9 )
|
|
material/0 = SubResource( 12 )
|
|
|
|
[node name="game_ui" parent="." instance=ExtResource( 11 )]
|
|
|
|
[node name="debug_window" parent="." instance=ExtResource( 8 )]
|
|
margin_left = 908.654
|
|
margin_top = 51.8173
|
|
margin_right = -115.346
|
|
margin_bottom = -412.183
|
|
[connection signal="douleur_minus_pressed" from="debug_window" to="." method="_on_debug_window_douleur_minus_pressed"]
|
|
[connection signal="douleur_plus_pressed" from="debug_window" to="." method="_on_debug_window_douleur_plus_pressed"]
|
|
[connection signal="mist_level_changed" from="debug_window" to="." method="_on_debug_window_mist_level_changed"]
|
|
[connection signal="oubli_minus_pressed" from="debug_window" to="." method="_on_debug_window_oubli_minus_pressed"]
|
|
[connection signal="oubli_plus_pressed" from="debug_window" to="." method="_on_debug_window_oubli_plus_pressed"]
|
|
[connection signal="time_of_day_changed" from="debug_window" to="." method="_on_debug_window_time_of_day_changed"]
|