0

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

1

1 Answer 1

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

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks, but I have another quesion: can you use this code with other rendering platforms, like SVG?

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.