Closed sebastianmenge closed 9 years ago
The background color is actually a number, not a string. I guess the JSX is passing your background prop in as a string. Something like this should work:
<Scene background={0xffffff} width={width} ...
There should be some code that checks that and spits out a warning though. I'll add that.
oh yeah, right! thanks, that worked :+1:
hey everyone,
trying to set the background prop on a scene element with an orthographic camera but the canvas always stays black. react-three code looks like it should work. am i missing something? :)