added dof blur on time slowdown

This commit is contained in:
derek
2025-01-17 16:54:03 -06:00
parent f74d599b64
commit 5978a90017
5 changed files with 29 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=34 format=3 uid="uid://drwae3loscbw7"]
[gd_scene load_steps=35 format=3 uid="uid://drwae3loscbw7"]
[ext_resource type="Script" path="res://scripts/player.gd" id="1_x7wms"]
[ext_resource type="Script" path="res://scripts/recoil.gd" id="3_405jc"]
@@ -35,6 +35,11 @@ height = 2.03547
radius = 0.509802
height = 1.19106
[sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_vhypf"]
dof_blur_far_enabled = true
dof_blur_near_enabled = true
dof_blur_amount = 0.3
[sub_resource type="FastNoiseLite" id="FastNoiseLite_vupcx"]
noise_type = 0
frequency = 0.05
@@ -116,6 +121,7 @@ script = ExtResource("3_405jc")
[node name="Camera3D" type="Camera3D" parent="Head/Recoil"]
transform = Transform3D(1, -8.30784e-09, 2.09548e-09, 7.50333e-12, 1, -6.0536e-09, 0, 0, 1, 1.29921e-05, -0.0445602, -0.00379455)
cull_mask = 1048573
attributes = SubResource("CameraAttributesPractical_vhypf")
current = true
[node name="WeaponHolder" type="Node3D" parent="Head/Recoil/Camera3D"]