我有可以应用的 Three.Shape 挤压 为了得到一个平面,我先画了一个正方形,然后应用挤压
var squareShape = new THREE.Shape();
squareShape.moveTo( 0,0 );
squareShape.lineTo( 0, sqLength );
squareShape.lineTo( sqLength, sqLength );
squareShape.lineTo( sqLength, 0 );
squareShape.lineTo( 0, 0 );
var geometry = new THREE.ExtrudeGeometry( squareShape,extrudeSettings);
现在我的浏览器上出现了一个 3D 正方形。
接下来我想在其顶面上应用 256x256 的图像纹理。这个怎么做?