diff --git a/sample/particles/main.ts b/sample/particles/main.ts index 2af352e1..afe308ae 100644 --- a/sample/particles/main.ts +++ b/sample/particles/main.ts @@ -355,7 +355,7 @@ function getHdrFolderName() { } if ( simulationParams.toneMappingMode === 'extended' && - context.getConfiguration().toneMapping?.mode !== 'extended' + context.getConfiguration().toneMapping.mode !== 'extended' ) { return "HDR settings ⚠️ Browser doesn't support HDR canvas"; }