[gd_scene load_steps=22 format=2] [ext_resource path="res://previewer/previewer.gd" type="Script" id=1] [ext_resource path="res://shaders/sky.shader" type="Shader" id=2] [ext_resource path="res://previewer/sky.gd" type="Script" id=3] [ext_resource path="res://previewer/dummy/dummy.tscn" type="PackedScene" id=4] [ext_resource path="res://textures/tilables/basic_texture_1024.png" type="Texture" id=5] [ext_resource path="res://meshes/decors/rocks/cliff_001.tscn" type="PackedScene" id=6] [ext_resource path="res://meshes/props/pendo_teddy/pendo_teddy.tscn" type="PackedScene" id=7] [ext_resource path="res://meshes/props/travel_box/container.tscn" type="PackedScene" id=8] [ext_resource path="res://meshes/props/reference_box/reference_box.tscn" type="PackedScene" id=9] [ext_resource path="res://meshes/props/fountain_suzanha/Fountain_suzanha.tscn" type="PackedScene" id=10] [ext_resource path="res://previewer/settings.tscn" type="PackedScene" id=11] [sub_resource type="OpenSimplexNoise" id=1] period = 8.0 [sub_resource type="NoiseTexture" id=2] width = 1280 height = 720 seamless = true noise = SubResource( 1 ) [sub_resource type="ShaderMaterial" id=3] shader = ExtResource( 2 ) shader_param/iTime = 15.5758 shader_param/iFrame = 1014 shader_param/COVERAGE = 0.5 shader_param/THICKNESS = 25.0 shader_param/ABSORPTION = 1.031 shader_param/STEPS = 25 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( -11.462, 50, 85.8407 ) shader_param/sun_intensity = 42.0 shader_param/rayleigh_coeff = Vector3( 5.5, 13, 22.4 ) shader_param/mie_coeff = 21.0 shader_param/rayleigh_scale = 800.0 shader_param/mie_scale = 120.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] 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_energy = 3.82 [sub_resource type="SpatialMaterial" id=8] flags_unshaded = true flags_world_triplanar = true albedo_texture = ExtResource( 5 ) uv1_scale = Vector3( 122, 122, 122 ) [sub_resource type="PlaneMesh" id=9] material = SubResource( 8 ) [sub_resource type="GIProbeData" id=10] bounds = AABB( -63.192, -25, -76.323, 126.384, 50, 152.646 ) cell_size = 1.19255 to_cell_xform = Transform( 0.838542, 0, 0, 0, 0.838542, 0, 0, 0, 0.838542, 52.9891, 20.9635, 64 ) dynamic_data = PoolIntArray( 0, 8, 128, 64, 128, 1, 0, 0, 0, 1094713344, 0, 0, 7, 0, 1, 3126, -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 [node name="previewer" type="Spatial"] script = ExtResource( 1 ) [node name="sky" type="Spatial" parent="."] [node name="viewport" type="Viewport" parent="sky"] size = Vector2( 1280, 720 ) render_target_update_mode = 3 [node name="sprite" type="Sprite" parent="sky/viewport"] material = SubResource( 3 ) texture = SubResource( 4 ) centered = false script = ExtResource( 3 ) editor_playing = true sun_position = Vector3( -11.462, 50, 85.8407 ) [node name="world_environment" type="WorldEnvironment" parent="."] environment = SubResource( 7 ) [node name="dummy" parent="." instance=ExtResource( 4 )] [node name="terrain" type="Spatial" parent="."] [node name="test_csg_mesh" type="CSGMesh" parent="terrain"] transform = Transform( 60.964, 0, 0, 0, 1.21928, 0, 0, 0, 60.964, 0, 0, 0 ) mesh = SubResource( 9 ) [node name="cliff" parent="terrain" instance=ExtResource( 6 )] transform = Transform( 0.778102, 0, 0.628138, 0, 1, 0, -0.628138, 0, 0.778102, -24.4077, -0.000944138, -27.3821 ) moss_height = 15.0 moss_fade = 2.5 moss_depth_min = 0.73 [node name="props" type="Spatial" parent="."] [node name="pendo_teddy" parent="props" instance=ExtResource( 7 )] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -3 ) [node name="container" parent="props" instance=ExtResource( 8 )] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -5 ) color = Color( 0.145098, 0.0980392, 0.713726, 1 ) lid_angle = 45.0 [node name="container_2" parent="props" instance=ExtResource( 8 )] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.24144, 0, -5 ) color = Color( 0.491686, 0.159256, 0.832031, 1 ) lid_angle = 90.0 [node name="container_3" parent="props" instance=ExtResource( 8 )] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -2.6614, 0, -5 ) color = Color( 0.360784, 1, 0, 1 ) lid_angle = 12.0 [node name="container_4" parent="props" instance=ExtResource( 8 )] transform = Transform( 0.457191, 0, 0.889369, 0, 1, 0, -0.889369, 0, 0.457191, -3.94754, 4.76837e-07, -4.27729 ) color = Color( 0.972549, 0.196078, 0.0431373, 1 ) lid_angle = 0.0 [node name="reference_box" parent="props" instance=ExtResource( 9 )] [node name="Fountain_suzanha" parent="props" instance=ExtResource( 10 )] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 5, 0.472, -5 ) [node name="light_system" type="Spatial" parent="."] [node name="directional_light" type="DirectionalLight" parent="light_system"] transform = Transform( 0.991203, 0.0661759, -0.11462, 0, 0.866025, 0.5, 0.132352, -0.495601, 0.858407, -11.462, 50, 85.8407 ) light_energy = 0.333333 shadow_enabled = true [node name="gi_probe" type="GIProbe" parent="light_system"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 21.7307, 0 ) extents = Vector3( 63.192, 25, 76.323 ) data = SubResource( 10 ) [node name="settings" parent="." instance=ExtResource( 11 )] visible = true margin_left = -475.0 margin_top = -243.0 margin_right = -219.0 margin_bottom = 13.0 [connection signal="time_frame_changed" from="." to="sky/viewport/sprite" method="_on_previewer_time_frame_changed"]