[gd_scene load_steps=14 format=2] [ext_resource path="res://addons/material_maker/preview_objects.tscn" type="PackedScene" id=1] [ext_resource path="res://addons/material_maker/environment.gd" type="Script" id=2] [ext_resource path="res://addons/material_maker/panoramas/epping_forest_01.hdr" type="Texture" id=3] [ext_resource path="res://addons/material_maker/panoramas/moonless_golf.hdr" type="Texture" id=4] [sub_resource type="PanoramaSky" id=1] [sub_resource type="Environment" id=2] background_mode = 2 background_sky = SubResource( 1 ) ambient_light_color = Color( 0.992157, 1, 0.709804, 1 ) ambient_light_energy = 0.3 [sub_resource type="Animation" id=3] loop = true tracks/0/type = "value" tracks/0/path = NodePath("Objects:rotation_degrees") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0, 1 ), "transitions": PoolRealArray( 1, 1 ), "update": 0, "values": [ Vector3( 0, 0, 0 ), Vector3( 0, 360, 0 ) ] } [sub_resource type="PanoramaSky" id=4] resource_local_to_scene = true panorama = ExtResource( 3 ) [sub_resource type="Environment" id=5] background_mode = 2 background_sky = SubResource( 4 ) [sub_resource type="SpatialMaterial" id=6] flags_unshaded = true [sub_resource type="SphereMesh" id=7] material = SubResource( 6 ) radius = 0.25 height = 0.5 [sub_resource type="PanoramaSky" id=8] resource_local_to_scene = true panorama = ExtResource( 4 ) [sub_resource type="Environment" id=9] resource_local_to_scene = true background_mode = 2 background_sky = SubResource( 8 ) [node name="Preview3d" type="Spatial"] [node name="Objects" parent="." instance=ExtResource( 1 )] transform = Transform( -0.799512, 0, 0.60065, 0, 1, 0, -0.60065, 0, -0.799512, 0, 0, 0 ) [node name="CameraPivot" type="Spatial" parent="."] transform = Transform( 1, 0, 0, 0, 0.766044, 0.642788, 0, -0.642788, 0.766044, 0, 0, 0 ) [node name="Camera" type="Camera" parent="CameraPivot"] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 3.5 ) environment = SubResource( 2 ) current = true [node name="RemoteTransform" type="RemoteTransform" parent="CameraPivot/Camera"] remote_path = NodePath("../../../../../../ProjectsPane/BackgroundPreview/Viewport/Camera") [node name="ObjectRotate" type="AnimationPlayer" parent="."] autoplay = "rotate" playback_speed = 0.1 anims/rotate = SubResource( 3 ) [node name="Environments" type="Spatial" parent="."] [node name="Epping Forest" type="Spatial" parent="Environments"] script = ExtResource( 2 ) environment = SubResource( 5 ) [node name="Light" type="OmniLight" parent="Environments/Epping Forest"] transform = Transform( 0.999755, 0.0162074, -0.0150931, 0, 0.681502, 0.731816, 0.0221468, -0.731637, 0.681335, -0.0821358, 3.98251, -2.64581 ) light_energy = 4.9 omni_range = 12.9508 [node name="Mesh" type="MeshInstance" parent="Environments/Epping Forest/Light"] transform = Transform( 1, 1.11759e-008, -1.30385e-008, -1.86265e-009, 1, -4.17233e-007, 0, 0, 1, 0, 0, 0 ) cast_shadow = 0 mesh = SubResource( 7 ) material/0 = null [node name="Moonless Golf" type="Spatial" parent="Environments"] visible = false script = ExtResource( 2 ) environment = SubResource( 9 ) [node name="Light1" type="OmniLight" parent="Environments/Moonless Golf"] transform = Transform( 0.999755, 0.0162074, -0.0150931, 0, 0.681502, 0.731816, 0.0221468, -0.731637, 0.681335, -2.22238, 3.98251, -2.64581 ) light_energy = 4.9 omni_range = 12.9508 [node name="Mesh" type="MeshInstance" parent="Environments/Moonless Golf/Light1"] transform = Transform( 1, 1.11759e-008, -1.39698e-008, -1.86265e-009, 1, -4.17233e-007, 0, 0, 1, 0, 0, 0 ) cast_shadow = 0 mesh = SubResource( 7 ) material/0 = null [node name="Light2" type="OmniLight" parent="Environments/Moonless Golf"] transform = Transform( 0.999755, 0.0162074, -0.0150931, 0, 0.681502, 0.731816, 0.0221468, -0.731637, 0.681335, 2.34329, 3.98251, -2.64581 ) light_energy = 4.9 omni_range = 12.9508 [node name="Mesh" type="MeshInstance" parent="Environments/Moonless Golf/Light2"] transform = Transform( 1, 1.11759e-008, -1.39698e-008, -1.86265e-009, 1, -4.17233e-007, 0, 0, 1, 0, 0, 0 ) cast_shadow = 0 mesh = SubResource( 7 ) material/0 = null