Skip to content

Commit ef64dcf

Browse files
committed
Add camera attributes resource and integrate into The Island scene
1 parent 3ea7f42 commit ef64dcf

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[gd_resource type="CameraAttributesPractical" format=3 uid="uid://b6kwntjxaav8g"]
2+
3+
[resource]
4+
exposure_multiplier = 1.971
5+
dof_blur_far_enabled = true
6+
dof_blur_far_transition = 50.0
7+
dof_blur_near_distance = 1.36
8+
dof_blur_amount = 0.04

Scenes and Scripts/Scenes/The Island/TheIsland.tscn

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
[gd_scene load_steps=39 format=3 uid="uid://c5jkrckgqd0w6"]
1+
[gd_scene load_steps=40 format=3 uid="uid://c5jkrckgqd0w6"]
22

33
[ext_resource type="PackedScene" uid="uid://jb61th5px5nt" path="res://Assets/3D Models/Tests/Island/Island 2.blend" id="1_c8ro6"]
4+
[ext_resource type="CameraAttributesPractical" uid="uid://b6kwntjxaav8g" path="res://Resources/Environment/TheIsland_CameraAttributes.tres" id="1_dqjud"]
45
[ext_resource type="PackedScene" uid="uid://ckktuiw4a367o" path="res://Assets/3D Models/Rocks/Rock2_Broken.blend" id="2_cqj48"]
56
[ext_resource type="PackedScene" uid="uid://c4tnwf0fy8niv" path="res://Assets/3D Models/Grass/Grass2.blend" id="2_d5bml"]
67
[ext_resource type="PackedScene" uid="uid://b0j1gyp7i41i7" path="res://Assets/3D Models/Trees/Normal/Hitbox/Tree1Hitbox.tscn" id="2_havmq"]
@@ -58,6 +59,7 @@ data = PackedVector3Array(0.9978, -0.0826, -0.9966, 1.0056, -0.08, -1.0042, 1.00
5859

5960
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
6061
environment = SubResource("Environment_5d78f")
62+
camera_attributes = ExtResource("1_dqjud")
6163

6264
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
6365
transform = Transform3D(-0.866023, -0.219187, 0.4494, 0, 0.898794, 0.438371, -0.500003, 0.37964, -0.778377, 0, 0, 0)
@@ -234,7 +236,6 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -341.102, 0, 325.308)
234236

235237
[node name="Player" parent="." instance=ExtResource("16_52bg8")]
236238
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -351.588, 0, 324.606)
237-
SPRINT_SPEED = 300.0
238239

239240
[node name="Grass3" parent="." instance=ExtResource("29_hkbpm")]
240241
transform = Transform3D(0.623758, 0, 0, 0, 0.623758, 0, 0, 0, 0.623758, -307.958, 0.39366, 247.747)

project.godot

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ SmoothMovements="*res://Scenes and Scripts/Singletons/SmoothMovements.gd"
4242

4343
[display]
4444

45+
window/size/mode=4
4546
window/stretch/mode="canvas_items"
4647

4748
[editor]

0 commit comments

Comments
 (0)