Skip to content

Commit 89f060f

Browse files
committed
fix(soba): ensure default intensity for accumulative shadows is taking legacy lights into account
1 parent cbe0cc4 commit 89f060f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/soba/staging/src/accumulative-shadows/randomized-lights.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export class NgtsRandomizedLights {
7575
position: [0, 0, 0],
7676
radius: 1,
7777
amount: 8,
78-
intensity: 1,
78+
intensity: parseInt(THREE.REVISION.replace(/\D+/g, '')) >= 155 ? Math.PI : 1,
7979
ambient: 0.5,
8080
});
8181
Math = Math;

0 commit comments

Comments
 (0)