Skip to content

Commit 9abf2c8

Browse files
committed
SSGINode: Fix clear color.
1 parent 4ff594b commit 9abf2c8

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

examples/jsm/tsl/display/SSGINode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ class SSGINode extends TempNode {
354354

355355
// clear
356356

357-
renderer.setClearColor( 0xffffff, 1 );
357+
renderer.setClearColor( 0x000000, 1 );
358358

359359
// gi
360360

-13.3 KB
Loading

examples/webgpu_postprocessing_ssgi.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
camera.position.set( 2.8, 1.8, 5 );
5050

5151
scene = new THREE.Scene();
52+
scene.background = new THREE.Color( 0xffffff );
5253

5354
renderer = new THREE.WebGPURenderer();
5455
//renderer.setPixelRatio( window.devicePixelRatio ); // probably too costly for most hardware

0 commit comments

Comments
 (0)