Hello friends
I have a mesh that I put a convexhull around it with the material being transparent here is the material code:
let materialcell = new THREE.MeshLambertMaterial( {
color: 0xffffff ,
opacity: 0.2,
side: THREE.DoubleSide, ``//THREE.BackSide``, ``//THREE.DoubleSide``,
wireframe: false,
flatShading: true,
transparent: true
} );
The result is a mesh which is transparent with convexhull halo around it per below svreenshot:
So far so good. Now if I enable wireframe the halo will go aways per below screenshot:
I read somewhere that you can have both on and once you turn on wireframe option the halo will not show up. My quesiotn is: is there a worj around here so we can show both at the same time.
I alao tired edgeGeometry and THREE.WireframeGeometry but I did not see any difference. I am using the followinfg code currently to create this convexhull:
let geometrycell = new ConvexGeometry( [...cellConvexhullSet] );
let materialcell = new THREE.MeshLambertMaterial( {
color: 0xffffff ,
opacity: 0.2,
side: THREE.DoubleSide, //THREE.BackSide, //THREE.DoubleSide,
wireframe: true,
flatShading: true,
transparent: true
} );
let meshcell = new THREE.Mesh( geometrycell, materialcell );
scene.add( meshcell );
Thank you in advance for any suggestions/help



