kopia lustrzana https://github.com/robhawkes/vizicities
Allow depth write to be ignored
rodzic
66254ee230
commit
3d47cb1966
|
@ -403,7 +403,9 @@ class PolygonLayer extends Layer {
|
|||
}
|
||||
|
||||
if (flat || style.renderOrder !== undefined) {
|
||||
material.depthWrite = false;
|
||||
if (!style.ignoreDepth) {
|
||||
material.depthWrite = false;
|
||||
}
|
||||
|
||||
var renderOrder = (style.renderOrder !== undefined) ? style.renderOrder : 3;
|
||||
mesh.renderOrder = renderOrder;
|
||||
|
|
Ładowanie…
Reference in New Issue