bgen/demo/scenes/demo_3d.tscn

33 lines
1.2 KiB
Text
Raw Normal View History

2026-04-16 21:04:50 -04:00
[gd_scene format=3 uid="uid://jysbic1s50to"]
[ext_resource type="Script" uid="uid://brsi02a7ei24j" path="res://scripts/demo_3d.gd" id="1_demo3d"]
[ext_resource type="Script" uid="uid://d0srrm35g1m0t" path="res://scripts/fly_camera.gd" id="2_flycam"]
[sub_resource type="Environment" id="Env1"]
background_mode = 1
background_color = Color(0.04, 0.04, 0.05, 1)
ambient_light_source = 2
ambient_light_color = Color(0.6, 0.6, 0.7, 1)
ambient_light_energy = 0.4
[node name="Demo3D" type="Node3D" unique_id=36819859]
script = ExtResource("1_demo3d")
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1412341693]
environment = SubResource("Env1")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=236128294]
transform = Transform3D(0.707107, -0.5, 0.5, 0, 0.707107, 0.707107, -0.707107, -0.5, 0.5, 0, 10, 0)
light_color = Color(1, 0.95, 0.85, 1)
light_energy = 0.9
shadow_enabled = true
[node name="FlyCamera" type="Camera3D" parent="." unique_id=658486835]
transform = Transform3D(1, 0, 0, 0, 0.819152, 0.573576, 0, -0.573576, 0.819152, 39, 14, 32)
current = true
near = 0.1
far = 500.0
script = ExtResource("2_flycam")
[node name="Levels" type="Node3D" parent="." unique_id=1476525758]