backdrop is stretched far enought so that the stretchedness is not observable

This commit is contained in:
minjaesong
2023-08-01 22:01:56 +09:00
parent 1ac861fa82
commit 37d45e22ad

View File

@@ -203,7 +203,7 @@ internal object WeatherMixer : RNGConsumer {
// println("degThis=$degThis, degNext=$degNext, lerp=$lerpScale")
val stripXcentre = ((solarElev + 75.0) / 150.0).toFloat()
val backMag = texture1.regionWidth * App.scr.wf * 2f
val backMag = 16777216f
val backX = -stripXcentre * backMag
val gradY = -(gH - App.scr.height) * ((parallax + 1f) / 2f)