auto-git:

[change] src/document/migrate-scene-document.ts
 [change] src/document/scene-document-validation.ts
 [change] src/document/scene-document.ts
 [change] src/rendering/world-background-renderer.ts
This commit is contained in:
2026-04-22 15:59:11 +02:00
parent ad3cb85f3d
commit 0c592addbe
4 changed files with 8 additions and 3 deletions

View File

@@ -352,12 +352,12 @@ function validateWorldShaderSkySettings(
);
}
if (!isFiniteNumberInRange(settings.horizonHeight, -1, 1)) {
if (!isFiniteNumberInRange(settings.horizonHeight, -0.5, 0.5)) {
diagnostics.push(
createDiagnostic(
"error",
"invalid-world-shader-sky-horizon-height",
"World shader sky horizon height must stay between -1 and 1.",
"World shader sky horizon height must stay between -0.5 and 0.5.",
`${path}.horizonHeight`
)
);