Various updates

Flashlight, fog, letter shader, safe audio
This commit is contained in:
2023-01-31 19:11:38 +01:00
parent 61a732a698
commit 9b7b25ff94
13 changed files with 162 additions and 30 deletions
+11 -2
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=5 format=3]
[gd_scene load_steps=5 format=3 uid="uid://4o2ljtcup5bo"]
[ext_resource type="Script" path="res://Scripts/Player.gd" id="1_jx17t"]
@@ -23,10 +23,19 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.4, 0)
fov = 60.0
[node name="Gun" type="MeshInstance3D" parent="Pivot/Camera"]
[node name="FlashLight" type="MeshInstance3D" parent="Pivot/Camera"]
transform = Transform3D(-4.37114e-08, 0, 1, -1, -4.37114e-08, -4.37114e-08, 4.37114e-08, -1, 1.91069e-15, 0.329452, -0.242565, -0.429142)
mesh = SubResource("CapsuleMesh_x6nb0")
[node name="SpotLight3D" type="SpotLight3D" parent="Pivot/Camera/FlashLight"]
transform = Transform3D(1, -1.64203e-15, 0, 0, -4.37114e-08, -1, 8.35188e-23, 1, -4.37114e-08, 0, -0.0445836, 0)
light_color = Color(0.345098, 0.764706, 1, 1)
light_volumetric_fog_energy = 100000.0
shadow_enabled = true
spot_range = 8.91
spot_angle = 15.0
spot_angle_attenuation = 3.13833
[node name="AudioListener3D" type="AudioListener3D" parent="Pivot/Camera"]
current = true