Open davidgodzsak opened 8 years ago
In Three.js there is a way to add linear-gradients to meshes. See this tutorial: http://www.johannes-raida.de/tutorials/three.js/tutorial03/tutorial03.htm
How can I achieve the same with react-three-renderer?
I want to use this with a plane and I found planes have a colors parameter in the docs. How can I make use of it?
colors
Or is there any other simple way to achieve linear-gradients?
I will create an example with this and implement the features if missing
In Three.js there is a way to add linear-gradients to meshes. See this tutorial: http://www.johannes-raida.de/tutorials/three.js/tutorial03/tutorial03.htm
How can I achieve the same with react-three-renderer?
I want to use this with a plane and I found planes have a
colors
parameter in the docs. How can I make use of it?Or is there any other simple way to achieve linear-gradients?