[vtkusers] how to set gradient background when using vtk.js?

Jounly lihouxing0710 at gmail.com
Tue Feb 26 21:20:06 EST 2019


Hi,
   As the title, how can i set a gradient background when using vtk.js?
I use the way below to set the background color, but it's not gradient.
Could anyone give me a hint on this?
/
const fullScreenRenderer =
vtkFullScreenRenderWindow.newInstance({background:[0,0,0]});/




--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html


More information about the vtkusers mailing list