mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Add setting for near plane distance. (#6395)
* Allow setting the near plane * - Add near_plane limit of 0.5 to prevent x-ray. - Add more details to near_plane setting.
This commit is contained in:
parent
0034abb560
commit
c56c3d8d6f
3 changed files with 9 additions and 0 deletions
|
@ -476,6 +476,12 @@ pause_fps_max (FPS in pause menu) int 20
|
|||
# View distance in nodes.
|
||||
viewing_range (Viewing range) int 100 20 4000
|
||||
|
||||
# Camera near plane distance in nodes, between 0 and 0.5
|
||||
# Most users will not need to change this.
|
||||
# Increasing can reduce artifacting on weaker GPUs.
|
||||
# 0.1 = Default, 0.25 = Good value for weaker tablets.
|
||||
near_plane (Near plane) float 0.1 0 0.5
|
||||
|
||||
# Width component of the initial window size.
|
||||
screenW (Screen width) int 800
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue