- not set wireframe mode for GridLayer.js

- ShaderMaterial for DemLayer.js (for clipping)
- new icon for basemap selection
- shader.js: adaptions for clipping SahderMaterial with opacity and texture map
- small formating corrections in TinLayer.js and Selection.js
This commit is contained in:
Arno Kaimbacher 2021-03-31 18:14:23 +02:00
parent 67d6b61ed6
commit 8df9ff69df
8 changed files with 75 additions and 46 deletions

View file

@ -133,9 +133,9 @@ class TinLayer extends Layer {
roughness: 0.75,
flatShading: true,
side: DoubleSide,
clippingPlanes: [this.xLocalPlane, this.yLocalPlane],
clipIntersection: false,
clipShadows: true,
// clippingPlanes: [this.xLocalPlane, this.yLocalPlane],
// clipIntersection: false,
// clipShadows: true,
}, uniforms.clipping);
this.materialsArray.push(this.material);
let mesh = this.mainMesh = new Mesh(geometry, this.material);