Working on updating some old javascript three.js code on textures. Specifically the second line below.
var groundColor = new THREE.Color(0xd2ddef); var groundT
Thanks everyone, I was able to replace ImageUtils.generateDataTexture with THREE.DataTexture, using the color as the data.
ImageUtils.generateDataTexture
THREE.DataTexture
https://threejs.org/docs/#api/textures/DataTexture