0

Please may someone tell me how to change the background using Three. Js? Note that I'm rendering this project with WebGL.

WestLangley
  • 102,557
  • 10
  • 276
  • 276
DubGamer87
  • 143
  • 2
  • 11

1 Answers1

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