hi i am trying to change the background on this fiddle of a perlin noise object.
i added this line: scene.background = new THREE.Color( 0x22f9f9 );
but nothing has changed.
hi i am trying to change the background on this fiddle of a perlin noise object.
i added this line: scene.background = new THREE.Color( 0x22f9f9 );
but nothing has changed.
strange, it does work, but not in jsfiddle
It works with the latest version (R96
) of three.js
: https://jsfiddle.net/59p2takw/30/
You have included R75
. Scene.background
was added wit R78
.
Possible solution with the solid colour of the scene background can be using of
renderer.setClearColor( 0x22f9f9 )
;