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 0ac72f2 commit 07bfaabCopy full SHA for 07bfaab
example/index.js
@@ -177,8 +177,7 @@ async function init() {
177
document.body.appendChild( stats.dom );
178
renderer.physicallyCorrectLights = true;
179
renderer.toneMapping = ACESFilmicToneMapping;
180
- ptRenderer.material.setDefine( 'FEATURE_GRADIENT_BG', 1 );
181
- scene.background = new Color( 0x060606 );
+ scene.background = backgroundMap;
182
ptRenderer.tiles.set( params.tilesX, params.tilesY );
183
184
updateCamera( params.cameraProjection );
@@ -375,7 +374,7 @@ function buildGui() {
375
374
376
if ( v === 'Gradient' ) {
377
378
379
ptRenderer.material.backgroundMap = backgroundMap;
380
381
} else {
0 commit comments