We have are using MeshLambertMaterial and simply setting a color to the material, green for example.
If this threejs object has a ‘connection’ we want to change the look of the image without straying too far from its original color.
Is there a way to add gradients to the color? or stripes to the material?
Thanks
You might achieve the mentioned effect with vertex colors. Please have a look at the code of this example and see, how the gradients of the floor are implemented.
The relevant section is: https://github.com/mrdoob/three.js/blob/master/examples/misc_controls_pointerlock.html#L258-L265
1 Like
Hi Mugen87
Thank you for the reply and examples! We managed to implement the suggestion and it works great!
Cheers!
Neat. I applied this coloring to a small demo: