Rendering a transparent shell

If you want to render overlapping transparent faces, but do not want the overlapping regions to be darker, you can implement a trick: render the faces first with

material.colorWrite = false;

and then render them a second time with

material.colorWrite = true;

fiddle: https://jsfiddle.net/3qm2e871/

three.js r.142

Leave a Comment