Izzimach / react-three-legacy

React bindings to create and control a 3D scene using three.js
Other
1.52k stars 127 forks source link

Support/feature request for THREERenderer background transparency or gradient #103

Open nschwan94 opened 7 years ago

nschwan94 commented 7 years ago

I couldn't figure out how to give the canvas a background gradient or a transparent background so I could apply the gradient to the parent div.

Any support? Can this feature be implemented if no alternative exists?

alexanderfrey commented 7 years ago

Hi, did you get react-three working with three.js r85 ?

Thanks for the info. Alexander

nschwan94 commented 7 years ago

Yeah, I've got it running with the latest from three.js

Izzimach commented 7 years ago

The THREERenderer already has a transparent prop you can set to true. Is that what you wanted, or is there something more complicated?