Skip to content

Commit

Permalink
Set depthWrite to false for grid material
Browse files Browse the repository at this point in the history
  • Loading branch information
marklundin committed Jan 20, 2025
1 parent 06529ea commit f493acc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/esm/grid.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ class Grid extends Script {
}
});
this._material.blendType = BLEND_NORMAL;
this._material.depthWrite = false;
this._material.update();

this.entity.render.material = this._material;
Expand Down

0 comments on commit f493acc

Please sign in to comment.