mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-26 23:34:58 +02:00
Made the brightness of the stars not be affected by the weather
This commit is contained in:
parent
b69bfbfea4
commit
2533598295
@ -103,6 +103,9 @@
|
|||||||
BasicEffect.Texture = texture
|
BasicEffect.Texture = texture
|
||||||
BasicEffect.Alpha = alpha
|
BasicEffect.Alpha = alpha
|
||||||
|
|
||||||
|
If BasicEffect.Texture Is TextureDown Then
|
||||||
|
BasicEffect.DiffuseColor = New Vector3(1)
|
||||||
|
Else
|
||||||
Select Case Screen.Level.World.CurrentMapWeather
|
Select Case Screen.Level.World.CurrentMapWeather
|
||||||
Case World.Weathers.Clear, World.Weathers.Sunny
|
Case World.Weathers.Clear, World.Weathers.Sunny
|
||||||
BasicEffect.DiffuseColor = New Vector3(1)
|
BasicEffect.DiffuseColor = New Vector3(1)
|
||||||
@ -121,6 +124,7 @@
|
|||||||
Case World.Weathers.Blizzard
|
Case World.Weathers.Blizzard
|
||||||
BasicEffect.DiffuseColor = New Vector3(0.6, 0.6, 0.6)
|
BasicEffect.DiffuseColor = New Vector3(0.6, 0.6, 0.6)
|
||||||
End Select
|
End Select
|
||||||
|
End If
|
||||||
|
|
||||||
If BasicEffect.DiffuseColor <> New Vector3(1) Then
|
If BasicEffect.DiffuseColor <> New Vector3(1) Then
|
||||||
BasicEffect.DiffuseColor = GetWeatherColorMultiplier(BasicEffect.DiffuseColor)
|
BasicEffect.DiffuseColor = GetWeatherColorMultiplier(BasicEffect.DiffuseColor)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user