We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 586b141 commit 58fd7e1Copy full SHA for 58fd7e1
1 file changed
sample/particles/main.ts
@@ -348,7 +348,7 @@ function getHdrFolderName() {
348
}
349
if (
350
simulationParams.toneMappingMode === 'extended' &&
351
- context.getConfiguration().toneMapping.mode !== 'extended'
+ context.getConfiguration().toneMapping?.mode !== 'extended'
352
) {
353
return "HDR settings ⚠️ Browser doesn't support HDR canvas";
354
0 commit comments