Transparency of ShaderMaterial in Three.js
问题 I tried to create my own GLSL script by extending shaders in ShaderLib (e.g. ShaderLib.basic), but unfortunately bumped into some transparency problems: In the picture below, it looks normal by using MeshBasicMaterial directly. var material = new THREE.MeshBasicMaterial( params ); // color and opacity are set in params but when I used ShaderMaterial, "some" furnitures inside are invisible from outside of window (that's a weird part ...), var myShader = THREE.ShaderLib.basic; var uniforms =