godotengine / godotengine/godot
XRCamera3D Far plane higher than 699050 only renders sky
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
- Reproducible in Godot v4.2.stable.official [46dc27791] and
- v4.2.1.stable.official [b09f793f5]
### System information
Godot v4.2.1.stable - Windows 10.0.22621 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4070 Ti (NVIDIA; 31.0.15.5123) - 13th Gen Intel(R) Core(TM) i5-13600KF (20 Threads) - using Vive Pro on Steam VR Version 2.4.1
### Issue description
XRCamera3D Far plane values up to 699050 work as expected. When the Far value is set to 699051 or higher, meshes present in the scene are not displayed in the headset or the monitor. The sky is displayed correctly in both cases.
### Steps to reproduce
Clone or download the [Godot project ](https://github.com/tiggerntatie/XRFarMRP) from github. Set the XRCamera3D Far value to 699050 and observe that the plane mesh is present in the VR view when running the project. Set the XRCamera3D Far value to 699051 and observe that the plane mesh is not present in the VR view.
### Minimal reproduction project (MRP)
Download the zipped project from: [https://github.com/tiggerntatie/XRFarMRP/releases/tag/0.0.1](https://github.com/tiggerntatie/XRFarMRP/releases/tag/0.0.1)
Contributor guide
Research direction
Start with the linked XRFarMRP minimal reproduction project and compare XRCamera3D Far values of 699050 and 699051 in the VR view. Trace the XRCamera3D rendering path to determine why meshes disappear while the sky remains visible; done means the plane mesh still renders at Far values above 699050.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics, game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 40/100