let groundMaterial = new THREE.MeshPhongMaterial( { color: 0xff43fee, specular: 0x360000 ,} );
groundMesh = new THREE.Mesh( new THREE.PlaneBufferGeometry( 2000, 2000 ), groundMaterial );
groundMesh.rotation.x = - Math.PI / 2;
scene.add( groundMesh );
I'm trying to find a solution to add a grass texture beneath this code snippet. Unfortunately, I haven't found any viable options yet. This code is extracted from a repository on Github called https://github.com/schteppe/gpu-physics.js.