Skip to content

Commit

Permalink
fix: improve z-fighting by setting near plane to 0.5
Browse files Browse the repository at this point in the history
we don't need to see things closer than half a meter to the camera, and this is a noticeable improvement for z-fighting in the distance
  • Loading branch information
LandscapeLab Office committed Dec 27, 2023
1 parent f673459 commit c0b2bfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Perspectives/PC/FirstPersonPC.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[ext_resource type="Script" path="res://Perspectives/PC/VRDirectionIndicator.gd" id="4"]
[ext_resource type="Script" path="res://Editing/ActionHandler.gd" id="4_ru6dm"]
[ext_resource type="PackedScene" uid="uid://cuiempx2ao4sm" path="res://Perspectives/PC/MousePoint.tscn" id="5"]
[ext_resource type="PackedScene" path="res://Perspectives/Tracking/ParentTracker.tscn" id="7"]
[ext_resource type="PackedScene" uid="uid://4pb0ommg5l3g" path="res://Perspectives/Tracking/ParentTracker.tscn" id="7"]
[ext_resource type="Script" path="res://Communication/SetPositionRequestHandler.gd" id="8"]
[ext_resource type="Texture2D" uid="uid://bxy40aj51eghh" path="res://Resources/Icons/ModernLandscapeLab/positionindicator.svg" id="9"]
[ext_resource type="PackedScene" uid="uid://smxcuwyafd66" path="res://Perspectives/PC/VRSubviewPort.tscn" id="9_sfca8"]
Expand All @@ -26,7 +26,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.7, 0)
transform = Transform3D(1.00002, 0, 0, 0, 1, 0, 0, 0, 1.00002, 0, 0, 0)
cull_mask = 1143
doppler_tracking = 2
near = 0.15
near = 0.5
script = ExtResource("2")
setting_title = "player"

Expand Down

0 comments on commit c0b2bfe

Please sign in to comment.