171 lines
6.2 KiB
Text
171 lines
6.2 KiB
Text
[gd_scene load_steps=24 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://materials/tilables/water.material" type="Material" id=7]
|
|
[ext_resource path="res://meshes/props/pendo_teddy/pendo_teddy.tscn" type="PackedScene" id=8]
|
|
[ext_resource path="res://meshes/props/travel_box/container.tscn" type="PackedScene" id=9]
|
|
[ext_resource path="res://meshes/props/reference_box/reference_box.tscn" type="PackedScene" id=10]
|
|
[ext_resource path="res://meshes/props/fountain_suzanha/Fountain_suzanha.tscn" type="PackedScene" id=11]
|
|
[ext_resource path="res://previewer/settings.tscn" type="PackedScene" id=12]
|
|
|
|
[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 = 452.999
|
|
shader_param/iFrame = 20840
|
|
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( -6.85618, 85.5364, 51.347 )
|
|
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="PlaneMesh" id=10]
|
|
|
|
[sub_resource type="GIProbeData" id=11]
|
|
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 )
|
|
directional_light_node_path = NodePath("../../../light_system/directional_light")
|
|
sun_position = Vector3( -6.85618, 85.5364, 51.347 )
|
|
|
|
[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="water" type="MeshInstance" parent="terrain"]
|
|
transform = Transform( 22.72, 0, 0, 0, 1, 0, 0, 0, 18.77, -27.5637, 0.428694, -26.1742 )
|
|
mesh = SubResource( 10 )
|
|
material/0 = ExtResource( 7 )
|
|
|
|
[node name="props" type="Spatial" parent="."]
|
|
|
|
[node name="pendo_teddy" parent="props" instance=ExtResource( 8 )]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -3 )
|
|
|
|
[node name="container" parent="props" instance=ExtResource( 9 )]
|
|
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( 9 )]
|
|
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( 9 )]
|
|
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( 9 )]
|
|
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( 10 )]
|
|
|
|
[node name="Fountain_suzanha" parent="props" instance=ExtResource( 11 )]
|
|
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.113209, -0.0685618, 0, 0.518027, 0.855364, 0.132352, -0.84784, 0.51347, -6.85618, 85.5364, 51.347 )
|
|
light_energy = 0.653333
|
|
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( 11 )
|
|
|
|
[node name="settings" parent="." instance=ExtResource( 12 )]
|
|
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"]
|