diff --git a/src/document/scene-document-validation.ts b/src/document/scene-document-validation.ts index a5d34276..96b97ce5 100644 --- a/src/document/scene-document-validation.ts +++ b/src/document/scene-document-validation.ts @@ -549,6 +549,11 @@ function validateWorldSettings( "world.background", "world-background" ); + validateWorldShaderSkySettings( + world.shaderSky, + diagnostics, + "world.shaderSky" + ); if (!isHexColorString(world.ambientLight.colorHex)) { diagnostics.push( @@ -627,7 +632,10 @@ function validateWorldSettings( document, diagnostics, "world.timeOfDay.night.background", - "night-background" + "night-background", + { + allowShader: false + } ); if (!isHexColorString(world.timeOfDay.night.ambientColorHex)) {