We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41639a2 commit 5a155c9Copy full SHA for 5a155c9
src/core/WebGLPathTracer.js
@@ -306,7 +306,7 @@ export class WebGLPathTracer {
306
}
307
308
// update scene environment
309
- material.environmentIntensity = scene.environment !== null ? (scene.environmentIntensity ?? 1) : 0;
+ material.environmentIntensity = scene.environment !== null ? ( scene.environmentIntensity ?? 1 ) : 0;
310
material.environmentRotation.makeRotationFromEuler( scene.environmentRotation ).invert();
311
if ( this._previousEnvironment !== scene.environment ) {
312
@@ -326,7 +326,7 @@ export class WebGLPathTracer {
326
327
328
329
- }
+ }
330
331
332
0 commit comments