Please may someone tell me how to change the background using Three. Js? Note that I'm rendering this project with WebGL.
1 Answer
renderer.setClearColor( 0xffffff, 1);
See http://jsfiddle.net/L0rdzbej/7/
Three.js r.71
Also this has been asked before: Changing three.js background to transparent or other color
1 Comment
DubGamer87
Thanks, but I have another quesion: can you use this code with other rendering platforms, like SVG?