deploying new skybox model

This commit is contained in:
minjaesong
2023-07-10 19:47:44 +09:00
parent 64c610e77e
commit 6bc3d0e6ad
9 changed files with 212 additions and 79 deletions

View File

@@ -123,12 +123,6 @@ class Application(val WIDTH: Int, val HEIGHT: Int) : Game() {
private fun Float.scaleFun() =
(1f - 1f / 2f.pow(this/6f)) * 0.97f
private fun Float.negativeElevationScale() =
minOf(
(1f - 1f / 2f.pow(this/6f)) * 0.97f,
1f - (1f - 1f / 2f.pow(this/6f)) * 0.97f
)
private fun CIEXYZ.scaleToFit(elevation: Double): CIEXYZ {
return if (elevation >= 0) {
CIEXYZ(