aframe-sprite-component icon indicating copy to clipboard operation
aframe-sprite-component copied to clipboard

depthWrite false for correctly render transparent sprites with occlusion

Open micuat opened this issue 4 years ago • 0 comments

https://stackoverflow.com/questions/42998376/three-js-transparent-planes-hiding-sprites

material = new THREE.MeshBasicMaterial( {
    color: 0xa6cfe2,
    side: THREE.DoubleSide,
    transparent: true,
    opacity: 0.5,
    depthWrite: false
} );

micuat avatar May 15 '20 18:05 micuat