mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-10 10:34:06 +09:00
backdrop is stretched far enought so that the stretchedness is not observable
This commit is contained in:
@@ -203,7 +203,7 @@ internal object WeatherMixer : RNGConsumer {
|
|||||||
// println("degThis=$degThis, degNext=$degNext, lerp=$lerpScale")
|
// println("degThis=$degThis, degNext=$degNext, lerp=$lerpScale")
|
||||||
|
|
||||||
val stripXcentre = ((solarElev + 75.0) / 150.0).toFloat()
|
val stripXcentre = ((solarElev + 75.0) / 150.0).toFloat()
|
||||||
val backMag = texture1.regionWidth * App.scr.wf * 2f
|
val backMag = 16777216f
|
||||||
val backX = -stripXcentre * backMag
|
val backX = -stripXcentre * backMag
|
||||||
|
|
||||||
val gradY = -(gH - App.scr.height) * ((parallax + 1f) / 2f)
|
val gradY = -(gH - App.scr.height) * ((parallax + 1f) / 2f)
|
||||||
|
|||||||
Reference in New Issue
Block a user