a_p
1
Hi, do you know how to make the effect on the character “80” located here ? I mean the transparency of a face the characterss ‘ 80’.
I think I could do it by creating a hud on a 2D mesh located above the concerned surface of the 3D ‘80’ mesh. But is there simpler than that ?
Thanks
Define “simpler”.
Without HUD or additional layer, you could use array material and blending:
text = new THREE.Mesh(
textGeometry,
[
new THREE.MeshBasicMaterial( {
color: 'white',
blending:THREE.MultiplyBlending } ),
new THREE.MeshBasicMaterial( {
color:'black'} )
]
);
https://codepen.io/boytchev/full/RNrPJOB
