|
|
|
|
@ -1,7 +1,11 @@
|
|
|
|
|
[gd_scene load_steps=4 format=3 uid="uid://bwn0di86nkots"]
|
|
|
|
|
[gd_scene load_steps=6 format=3 uid="uid://bwn0di86nkots"]
|
|
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://scripts/World.cs" id="1_2chdl"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bw4vb1yfno12m" path="res://graphics/Light/texture_06.png" id="1_7bu66"]
|
|
|
|
|
[ext_resource type="Script" path="res://scripts/Floor.cs" id="3_q36sk"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_fl40q"]
|
|
|
|
|
size = Vector3(100, 0.1, 100)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_t4i04"]
|
|
|
|
|
albedo_texture = ExtResource("1_7bu66")
|
|
|
|
|
@ -10,15 +14,24 @@ uv1_scale = Vector3(8, 8, 8)
|
|
|
|
|
[node name="World" type="Node3D"]
|
|
|
|
|
script = ExtResource("1_2chdl")
|
|
|
|
|
|
|
|
|
|
[node name="Floor" type="CSGBox3D" parent="."]
|
|
|
|
|
transform = Transform3D(50, 0, 0, 0, 0.1, 0, 0, 0, 50, 0, 0, 0)
|
|
|
|
|
use_collision = true
|
|
|
|
|
material = SubResource("StandardMaterial3D_t4i04")
|
|
|
|
|
|
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="."]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 0.925183, 0.379521, 0, -0.379521, 0.925183, 0, 14.6844, 32.8237)
|
|
|
|
|
fov = 90.0
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 0.925183, 0.379521, 0, -0.379521, 0.925183, 0, 24.4204, 48.4601)
|
|
|
|
|
fov = 120.0
|
|
|
|
|
|
|
|
|
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 0.826207, 0.563367, 0, -0.563367, 0.826206, 0, 14.8709, 19.8929)
|
|
|
|
|
shadow_enabled = true
|
|
|
|
|
|
|
|
|
|
[node name="Floor" type="Node3D" parent="."]
|
|
|
|
|
script = ExtResource("3_q36sk")
|
|
|
|
|
|
|
|
|
|
[node name="FloorRigidBody3D" type="RigidBody3D" parent="Floor"]
|
|
|
|
|
mass = 1000.0
|
|
|
|
|
gravity_scale = 0.25
|
|
|
|
|
|
|
|
|
|
[node name="FloorCollisionShape3D" type="CollisionShape3D" parent="Floor/FloorRigidBody3D"]
|
|
|
|
|
shape = SubResource("BoxShape3D_fl40q")
|
|
|
|
|
|
|
|
|
|
[node name="FloorCSGBox3D" type="CSGBox3D" parent="Floor/FloorRigidBody3D/FloorCollisionShape3D"]
|
|
|
|
|
transform = Transform3D(100, 0, 0, 0, 0.1, 0, 0, 0, 100, 0, 0, 0)
|
|
|
|
|
material = SubResource("StandardMaterial3D_t4i04")
|
|
|
|
|
|