Alpha blending in three.js
问题 I am trying to volume render the raw data using three.js. The raw data can be of any type. For rendering the data I have written code: dims is an array of size of data in three axes: One of the data dims is [256, 256 128] and data is uint8Array(8388608). var texture = new THREE.DataTexture3D(data, dims[0], dims[1], dims[2]); var texture = new THREE.DataTexture3D(data, dims[0], dims[1], dims[2]); texture.format = eval(format[1]); texture.type = eval(format[0]); texture.minFilter = texture