tweaked camera settings to tackle z-fighting

This commit is contained in:
Adam Burns 2026-01-23 23:09:34 -05:00
parent b85dd13963
commit a2640acb6b
2 changed files with 13 additions and 5 deletions

View File

@ -30,7 +30,9 @@ texture_filter = 0
material = SubResource("StandardMaterial3D_mt54i")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_kefov"]
transparency = 1
transparency = 2
alpha_scissor_threshold = 0.5
alpha_antialiasing_mode = 0
depth_draw_mode = 1
shading_mode = 0
albedo_texture = ExtResource("4_le0cj")
@ -42,7 +44,9 @@ size = Vector2(0.1, 0.1)
orientation = 2
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_le0cj"]
transparency = 1
transparency = 2
alpha_scissor_threshold = 0.5
alpha_antialiasing_mode = 0
depth_draw_mode = 1
shading_mode = 0
albedo_texture = ExtResource("5_le0cj")
@ -54,7 +58,9 @@ size = Vector2(0.1, 0.1)
orientation = 2
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_a6i3j"]
transparency = 1
transparency = 2
alpha_scissor_threshold = 0.5
alpha_antialiasing_mode = 0
depth_draw_mode = 1
shading_mode = 0
albedo_texture = ExtResource("6_78blk")

View File

@ -8,7 +8,7 @@ dof_blur_far_enabled = true
dof_blur_far_distance = 2.6
dof_blur_far_transition = 1.0
dof_blur_near_enabled = true
dof_blur_near_distance = 2.5
dof_blur_near_distance = 2.8
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_52vux"]
radius = 0.48486328
@ -26,9 +26,11 @@ animation = &"idle_down"
autoplay = "idle_down"
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(0.9848077, -0.044943456, 0.16773126, 0, 0.9659258, 0.25881904, -0.17364818, -0.25488698, 0.9512512, 0.4, 1, 2.5)
transform = Transform3D(0.9848077, -0.044943456, 0.16773126, 0, 0.9659258, 0.25881904, -0.17364818, -0.25488698, 0.9512512, 0.4, 0.8, 2.5)
attributes = SubResource("CameraAttributesPractical_reoop")
projection = 1
near = 2.0
far = 4.0
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.78478503, 0)