How to dig a hole in planar geometry

:dizzy_face: that’s ingenious, a really clever use of the transparent property and renderOrder :+1:

is there a reason for using a transparent png at all here? it’s also possible to use opacity: 0 right?

var geometry = new THREE.CircleGeometry( 1, 64 ),
  material = new THREE.MeshLambertMaterial({
    // map: texture,
    transparent: true,
    opacity:0
  });
2 Likes

You are absolutely correct!

With 0 opacity there is no need for a texture. Initially I wanted to set RGBA value for color, but it appears THREE.Color has no alpha. So I slipped into transparent texture instead of transparent color.

1 Like

Wow! awesome! Your ideas always solve my problems elegantly!
I’m ashamed of my ignorance, thank you so much for your help!
Worship!

1 Like