auto-git:

[change] src/document/migrate-scene-document.ts
 [change] src/document/scene-document-validation.ts
 [change] src/document/scene-document.ts
 [change] src/document/world-settings.ts
This commit is contained in:
2026-04-22 16:22:35 +02:00
parent 39111fc571
commit 6c772725e9
4 changed files with 25 additions and 2 deletions

View File

@@ -407,6 +407,17 @@ function validateWorldShaderSkySettings(
);
}
if (!isFiniteNumberInRange(settings.stars.horizonFadeOffset, -0.5, 0.5)) {
diagnostics.push(
createDiagnostic(
"error",
"invalid-world-shader-sky-star-horizon-fade-offset",
"World shader sky star horizon offset must stay between -0.5 and 0.5.",
`${path}.stars.horizonFadeOffset`
)
);
}
if (!isFiniteNumberInRange(settings.clouds.coverage, 0, 1)) {
diagnostics.push(
createDiagnostic(