Skip to content

Commit

Permalink
Merge pull request #63 from StrandedKitty/master
Browse files Browse the repository at this point in the history
Disable depth write and color write for MapView
  • Loading branch information
tentone committed Oct 2, 2023
2 parents 9b80ad2 + 62e4fb2 commit 6ec7154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/MapView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export class MapView extends Mesh
*/
public constructor(root: (number | MapNode) = MapView.PLANAR, provider: MapProvider = new OpenStreetMapsProvider(), heightProvider: MapProvider = null)
{
super(undefined, new MeshBasicMaterial({transparent: true, opacity: 0.0}));
super(undefined, new MeshBasicMaterial({transparent: true, opacity: 0.0, depthWrite: false, colorWrite: false}));

this.lod = new LODRaycast();

Expand Down

0 comments on commit 6ec7154

Please sign in to comment.