how to set gradient background when using vtk.js?

Jounly <[email protected]> Tue, 26 Feb 2019 19:20:06 -0700 (MST)
Newsgroups gmane.comp.lib.vtk.user
Message-ID <[email protected]>
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
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://vtk.org/mailman/listinfo/vtkusers