Please may someone tell me how to change the background using Three. Js? Note that I'm rendering this project with WebGL.
Asked
Active
Viewed 546 times
0
-
You can find a discussion here: http://stackoverflow.com/a/29422223/1980846 – gaitat Jul 25 '15 at 13:39
1 Answers
0
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

Community
- 1
- 1

Falk Thiele
- 4,424
- 2
- 17
- 44
-
Thanks, but I have another quesion: can you use this code with other rendering platforms, like SVG? – DubGamer87 Jul 25 '15 at 15:07