- threejs update 0.126.0

- no flatShading property in ShaderMaterial
This commit is contained in:
Arno Kaimbacher 2021-03-03 09:48:16 +01:00
parent bec7c4776d
commit b8aaeb84cf
3 changed files with 8 additions and 9 deletions

14
package-lock.json generated
View File

@ -12,7 +12,7 @@
"@fortawesome/fontawesome-free": "^5.15.2",
"normalize.css": "^8.0.1",
"proj4": "^2.6.3",
"three": "^0.125.1"
"three": "^0.126.0"
},
"devDependencies": {
"@babel/core": "^7.12.9",
@ -5852,9 +5852,9 @@
}
},
"node_modules/three": {
"version": "0.125.2",
"resolved": "https://registry.npmjs.org/three/-/three-0.125.2.tgz",
"integrity": "sha512-7rIRO23jVKWcAPFdW/HREU2NZMGWPBZ4XwEMt0Ak0jwLUKVJhcKM55eCBWyGZq/KiQbeo1IeuAoo/9l2dzhTXA=="
"version": "0.126.0",
"resolved": "https://registry.npmjs.org/three/-/three-0.126.0.tgz",
"integrity": "sha512-/MecvboUefStCkUfXLImoJxthN+FoLPcEP7pz1r1Dd9i8BPGGuj+S1sOPRvW4Z+ViZjP2oWWm1inNC/MT52ybA=="
},
"node_modules/to-fast-properties": {
"version": "2.0.0",
@ -11156,9 +11156,9 @@
}
},
"three": {
"version": "0.125.2",
"resolved": "https://registry.npmjs.org/three/-/three-0.125.2.tgz",
"integrity": "sha512-7rIRO23jVKWcAPFdW/HREU2NZMGWPBZ4XwEMt0Ak0jwLUKVJhcKM55eCBWyGZq/KiQbeo1IeuAoo/9l2dzhTXA=="
"version": "0.126.0",
"resolved": "https://registry.npmjs.org/three/-/three-0.126.0.tgz",
"integrity": "sha512-/MecvboUefStCkUfXLImoJxthN+FoLPcEP7pz1r1Dd9i8BPGGuj+S1sOPRvW4Z+ViZjP2oWWm1inNC/MT52ybA=="
},
"to-fast-properties": {
"version": "2.0.0",

View File

@ -7,7 +7,7 @@
"@fortawesome/fontawesome-free": "^5.15.2",
"normalize.css": "^8.0.1",
"proj4": "^2.6.3",
"three": "^0.125.1"
"three": "^0.126.0"
},
"author": "Arno Kaimbacher",
"license": "MIT",

View File

@ -113,7 +113,6 @@ class TinLayer extends Layer {
this.material = new ShaderMaterial( {
clipIntersection: true,
clipShadows: true,
flatShading: true,
uniforms: uniforms.clipping,
vertexShader: shader.vertexClipping,
fragmentShader: shader.fragmentClippingFront,