edge opacity

This commit is contained in:
Adrien MALINGREY 2023-06-11 03:29:04 +02:00
parent 4ae18f898a
commit 43c2835867

4
app.js
View File

@ -897,8 +897,8 @@ scene.add(light)
const edgeMaterial = new THREE.MeshBasicMaterial({ const edgeMaterial = new THREE.MeshBasicMaterial({
color: 0x88abe0, color: 0x88abe0,
transparent: true, transparent: true,
opacity: 0.5, opacity: 0.4,
reflectivity: 0.85, reflectivity: 0.99,
envMap: minoRenderTarget.texture envMap: minoRenderTarget.texture
}) })