Make min and max view distance accurate to vanilla

pull/593/head
Alexei Dobrohotov 4 years ago
parent 66e0a7ff02
commit e4e19bab1b

@ -46,7 +46,7 @@ viewing distance
:Type: floating point :Type: floating point
:Range: > 0 :Range: > 0
:Default: 6656.0 :Default: 7168.0
This value controls the maximum visible distance (also called the far clipping plane). This value controls the maximum visible distance (also called the far clipping plane).
Larger values significantly improve rendering in exterior spaces, Larger values significantly improve rendering in exterior spaces,

@ -377,25 +377,25 @@
<Property key="Caption" value="#{sRender_Distance}"/> <Property key="Caption" value="#{sRender_Distance}"/>
</Widget> </Widget>
<Widget type="ScrollBar" skin="MW_HScroll" position="0 154 352 18" align="HStretch Top" name="RenderingDistanceSlider"> <Widget type="ScrollBar" skin="MW_HScroll" position="0 154 352 18" align="HStretch Top" name="RenderingDistanceSlider">
<Property key="Range" value="4609"/> <Property key="Range" value="4669"/>
<Property key="Page" value="128"/> <Property key="Page" value="128"/>
<UserString key="SettingType" value="Slider"/> <UserString key="SettingType" value="Slider"/>
<UserString key="SettingCategory" value="Camera"/> <UserString key="SettingCategory" value="Camera"/>
<UserString key="SettingName" value="viewing distance"/> <UserString key="SettingName" value="viewing distance"/>
<UserString key="SettingValueType" value="Integer"/> <UserString key="SettingValueType" value="Integer"/>
<UserString key="SettingMin" value="2048"/> <UserString key="SettingMin" value="2500"/>
<UserString key="SettingMax" value="6656"/> <UserString key="SettingMax" value="7168"/>
<UserString key="SettingLabelWidget" value="RenderDistanceLabel"/> <UserString key="SettingLabelWidget" value="RenderDistanceLabel"/>
<UserString key="SettingLabelCaption" value="#{sRender_Distance} (%s)"/> <UserString key="SettingLabelCaption" value="#{sRender_Distance} (%s)"/>
</Widget> </Widget>
<Widget type="ScrollBar" skin="MW_HScroll" position="0 154 352 18" align="HStretch Top" name="LargeRenderingDistanceSlider"> <Widget type="ScrollBar" skin="MW_HScroll" position="0 154 352 18" align="HStretch Top" name="LargeRenderingDistanceSlider">
<Property key="Range" value="79873"/> <Property key="Range" value="79421"/>
<Property key="Page" value="2048"/> <Property key="Page" value="2048"/>
<UserString key="SettingType" value="Slider"/> <UserString key="SettingType" value="Slider"/>
<UserString key="SettingCategory" value="Camera"/> <UserString key="SettingCategory" value="Camera"/>
<UserString key="SettingName" value="viewing distance"/> <UserString key="SettingName" value="viewing distance"/>
<UserString key="SettingValueType" value="Cell"/> <UserString key="SettingValueType" value="Cell"/>
<UserString key="SettingMin" value="2048"/> <UserString key="SettingMin" value="2500"/>
<UserString key="SettingMax" value="81920"/> <UserString key="SettingMax" value="81920"/>
<UserString key="SettingLabelWidget" value="RenderDistanceLabel"/> <UserString key="SettingLabelWidget" value="RenderDistanceLabel"/>
<UserString key="SettingLabelCaption" value="#{sRender_Distance} (x%s)"/> <UserString key="SettingLabelCaption" value="#{sRender_Distance} (x%s)"/>

@ -23,7 +23,7 @@ small feature culling pixel size = 2.0
# Maximum visible distance. Caution: this setting # Maximum visible distance. Caution: this setting
# can dramatically affect performance, see documentation for details. # can dramatically affect performance, see documentation for details.
viewing distance = 6656.0 viewing distance = 7168.0
# Camera field of view in degrees (e.g. 30.0 to 110.0). # Camera field of view in degrees (e.g. 30.0 to 110.0).
# Does not affect the player's hands in the first person camera. # Does not affect the player's hands in the first person camera.

Loading…
Cancel
Save