This commit is contained in:
Segey Lapin
2021-10-26 21:51:45 +03:00
commit d6c8a24f5a
58 changed files with 271059 additions and 0 deletions

26
camera/camera_pos.tscn Normal file
View File

@@ -0,0 +1,26 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://camera/environment.tres" type="Environment" id=1]
[sub_resource type="SphereShape" id=1]
radius = 0.1
[node name="camera_pos" type="Spatial"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 6.75037, 0 )
[node name="rot_y" type="Spatial" parent="."]
[node name="rot_x" type="Spatial" parent="rot_y"]
[node name="SpringArm" type="SpringArm" parent="rot_y/rot_x"]
transform = Transform( 1, 0, 0, 0, 0.903013, 0.429613, 0, -0.429613, 0.903013, 0, 1.75, 0.2 )
shape = SubResource( 1 )
spring_length = 2.0
margin = 0.04
[node name="camera_offset" type="Spatial" parent="rot_y/rot_x/SpringArm"]
[node name="Camera" type="Camera" parent="rot_y/rot_x/SpringArm/camera_offset"]
transform = Transform( 1, 0, 0, 0, 0.900455, -0.434948, 0, 0.434948, 0.900455, 0, 0, 0 )
environment = ExtResource( 1 )
far = 350.0

15
camera/environment.tres Normal file
View File

@@ -0,0 +1,15 @@
[gd_resource type="Environment" load_steps=2 format=2]
[sub_resource type="ProceduralSky" id=1]
[resource]
background_mode = 2
background_sky = SubResource( 1 )
ambient_light_energy = 0.7
fog_enabled = true
fog_color = Color( 0.447059, 0.501961, 0.552941, 1 )
fog_sun_color = Color( 1, 0.901961, 0.701961, 1 )
fog_sun_amount = 0.25
fog_depth_end = 250.0
fog_depth_curve = 0.196146
dof_blur_far_quality = 0

13
camera/fps_cam_pos.tscn Normal file
View File

@@ -0,0 +1,13 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://camera/environment.tres" type="Environment" id=1]
[node name="fps_cam_pos" type="Spatial"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.75, -0.2 )
[node name="fos_cam_rot_y" type="Spatial" parent="."]
[node name="fps_cam_rot_x" type="Spatial" parent="fos_cam_rot_y"]
[node name="fps_camera" type="Camera" parent="fos_cam_rot_y/fps_cam_rot_x"]
environment = ExtResource( 1 )