Fog fixes
This commit is contained in:
@@ -28,10 +28,8 @@ Group Material
|
||||
|
||||
Group Fog
|
||||
{
|
||||
Enable 1
|
||||
NearDistance 2.000000
|
||||
FarDistance 30000.000000
|
||||
Color 0.709804 0.513726 0.294118 1.000000
|
||||
foglevel 8
|
||||
Color 0.674510 0.611765 0.521569 1.000000
|
||||
}
|
||||
|
||||
Group Filter
|
||||
|
||||
@@ -28,9 +28,7 @@ Group Material
|
||||
|
||||
Group Fog
|
||||
{
|
||||
Enable 0
|
||||
NearDistance 1.000000
|
||||
FarDistance 20000.000000
|
||||
foglevel 2
|
||||
Color 0.000000 0.000000 0.000000 1.000000
|
||||
}
|
||||
|
||||
|
||||
@@ -111,7 +111,9 @@ class OptionDialog(ui.ScriptWindow):
|
||||
|
||||
self.__SetCurTilingMode()
|
||||
|
||||
self.__ClickRadioButton(self.fogModeButtonList, constInfo.GET_FOG_LEVEL_INDEX())
|
||||
# MR-14: Fog update by Alaric
|
||||
self.__ClickRadioButton(self.fogModeButtonList, systemSetting.GetFogLevel())
|
||||
# MR-14: -- END OF -- Fog update by Alaric
|
||||
self.__ClickRadioButton(self.cameraModeButtonList, constInfo.GET_CAMERA_MAX_DISTANCE_INDEX())
|
||||
|
||||
if musicInfo.fieldMusic==musicInfo.METIN2THEMA:
|
||||
@@ -170,7 +172,11 @@ class OptionDialog(ui.ScriptWindow):
|
||||
self.__ClickRadioButton(self.cameraModeButtonList, index)
|
||||
|
||||
def __SetFogLevel(self, index):
|
||||
constInfo.SET_FOG_LEVEL_INDEX(index)
|
||||
# MR-14: Fog update by Alaric
|
||||
# constInfo.SET_FOG_LEVEL_INDEX(index)
|
||||
systemSetting.SetFogLevel(index)
|
||||
# MR-14: -- END OF -- Fog update by Alaric
|
||||
|
||||
self.__ClickRadioButton(self.fogModeButtonList, index)
|
||||
|
||||
def __OnClickCameraModeShortButton(self):
|
||||
|
||||
Reference in New Issue
Block a user