mitigate opaque black lines causing blackouts when zooming out
This commit is contained in:
parent
d017efee19
commit
03a546a53c
1 changed files with 2 additions and 2 deletions
|
|
@ -103,10 +103,10 @@
|
|||
let m = mcache[color];
|
||||
if (!m) {
|
||||
m = mcache[color] = mesh ? new THREE.MeshPhongMaterial({
|
||||
transparent: layer.transparent,
|
||||
transparent: color ? layer.transparent : true,
|
||||
shininess: layer.shininess,
|
||||
specular: layer.specular,
|
||||
opacity: layer.opacity,
|
||||
opacity: color ? layer.opacity : 0.25,
|
||||
color: color,
|
||||
side: THREE.DoubleSide
|
||||
}) : new THREE.LineBasicMaterial({
|
||||
|
|
|
|||
Loading…
Reference in a new issue