diff --git a/previewer/previewer.tscn b/previewer/previewer.tscn index f433565..d67f3c4 100644 --- a/previewer/previewer.tscn +++ b/previewer/previewer.tscn @@ -1,30 +1,73 @@ -[gd_scene load_steps=7 format=2] +[gd_scene load_steps=12 format=2] [ext_resource path="res://previewer/previewer.gd" type="Script" id=1] [ext_resource path="res://previewer/dummy/dummy.tscn" type="PackedScene" id=2] +[ext_resource path="res://meshes/props/pendo_teddy/pendo_teddy.tscn" type="PackedScene" id=3] +[ext_resource path="res://meshes/props/travel_box/container.tscn" type="PackedScene" id=4] -[sub_resource type="OpenSimplexNoise" id=1] +[sub_resource type="ProceduralSky" id=1] + +[sub_resource type="Environment" id=2] +background_mode = 2 +background_sky = SubResource( 1 ) +background_energy = 0.1 +ambient_light_energy = 3.82 + +[sub_resource type="OpenSimplexNoise" id=3] period = 0.1 persistence = 0.444 lacunarity = 0.1 -[sub_resource type="NoiseTexture" id=2] -noise = SubResource( 1 ) +[sub_resource type="NoiseTexture" id=4] +noise = SubResource( 3 ) -[sub_resource type="SpatialMaterial" id=3] +[sub_resource type="SpatialMaterial" id=5] albedo_color = Color( 0.192157, 0.435294, 0.172549, 1 ) -albedo_texture = SubResource( 2 ) +albedo_texture = SubResource( 4 ) -[sub_resource type="PlaneMesh" id=4] -material = SubResource( 3 ) +[sub_resource type="PlaneMesh" id=6] +material = SubResource( 5 ) + +[sub_resource type="GIProbeData" id=7] +bounds = AABB( -63.192, -10, -76.3229, 126.384, 20, 152.646 ) +cell_size = 1.19255 +to_cell_xform = Transform( 0.838543, 0, 0, 0, 0.838543, 0, 0, 0, 0.838543, 52.9891, 8.38543, 64 ) +dynamic_data = PoolIntArray( 0, 8, 128, 32, 128, 1, 0, 0, 2, 10, 0, 0, 8, 0, 322761760, 0, -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="world_environment" type="WorldEnvironment" parent="."] +environment = SubResource( 2 ) + [node name="dummy" parent="." instance=ExtResource( 2 )] [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( 4 ) +mesh = SubResource( 6 ) + +[node name="props" type="Spatial" parent="."] + +[node name="pendo_teddy" parent="props" instance=ExtResource( 3 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -3 ) + +[node name="container" parent="props" instance=ExtResource( 4 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -5 ) + +[node name="light_system" type="Spatial" parent="."] + +[node name="directional_light" type="DirectionalLight" parent="light_system"] +transform = Transform( 0.522088, 0.655715, -0.545401, 0, 0.639473, 0.768814, 0.852892, -0.401389, 0.333861, 0, 13.7088, 0 ) +light_energy = 4.47 +shadow_enabled = true + +[node name="gi_probe" type="GIProbe" parent="light_system"] +extents = Vector3( 63.192, 10, 76.3229 ) +data = SubResource( 7 ) +