For the GridMaterial, the places where grid lines intersect was too bright and it was really annoying me LOL, like below.
GridMaterial with default settings: https://playground.babylonjs.com/#2KKVBH#113
Currently the contribution of each axis is added together. If instead we use the max axis contribution then the issue of overlapping lines being too bright is resolved.
Below is from the same playground using the updated GridMaterial.
Here’s a PR to update GridMaterial’s fragment shader with this fix.
Also here’s the NME grid material updated with this fix as well.