- threejs update 0.126.0
- no flatShading property in ShaderMaterial
This commit is contained in:
parent
bec7c4776d
commit
b8aaeb84cf
14
package-lock.json
generated
14
package-lock.json
generated
|
@ -12,7 +12,7 @@
|
||||||
"@fortawesome/fontawesome-free": "^5.15.2",
|
"@fortawesome/fontawesome-free": "^5.15.2",
|
||||||
"normalize.css": "^8.0.1",
|
"normalize.css": "^8.0.1",
|
||||||
"proj4": "^2.6.3",
|
"proj4": "^2.6.3",
|
||||||
"three": "^0.125.1"
|
"three": "^0.126.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.12.9",
|
"@babel/core": "^7.12.9",
|
||||||
|
@ -5852,9 +5852,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/three": {
|
"node_modules/three": {
|
||||||
"version": "0.125.2",
|
"version": "0.126.0",
|
||||||
"resolved": "https://registry.npmjs.org/three/-/three-0.125.2.tgz",
|
"resolved": "https://registry.npmjs.org/three/-/three-0.126.0.tgz",
|
||||||
"integrity": "sha512-7rIRO23jVKWcAPFdW/HREU2NZMGWPBZ4XwEMt0Ak0jwLUKVJhcKM55eCBWyGZq/KiQbeo1IeuAoo/9l2dzhTXA=="
|
"integrity": "sha512-/MecvboUefStCkUfXLImoJxthN+FoLPcEP7pz1r1Dd9i8BPGGuj+S1sOPRvW4Z+ViZjP2oWWm1inNC/MT52ybA=="
|
||||||
},
|
},
|
||||||
"node_modules/to-fast-properties": {
|
"node_modules/to-fast-properties": {
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
|
@ -11156,9 +11156,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"three": {
|
"three": {
|
||||||
"version": "0.125.2",
|
"version": "0.126.0",
|
||||||
"resolved": "https://registry.npmjs.org/three/-/three-0.125.2.tgz",
|
"resolved": "https://registry.npmjs.org/three/-/three-0.126.0.tgz",
|
||||||
"integrity": "sha512-7rIRO23jVKWcAPFdW/HREU2NZMGWPBZ4XwEMt0Ak0jwLUKVJhcKM55eCBWyGZq/KiQbeo1IeuAoo/9l2dzhTXA=="
|
"integrity": "sha512-/MecvboUefStCkUfXLImoJxthN+FoLPcEP7pz1r1Dd9i8BPGGuj+S1sOPRvW4Z+ViZjP2oWWm1inNC/MT52ybA=="
|
||||||
},
|
},
|
||||||
"to-fast-properties": {
|
"to-fast-properties": {
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
"@fortawesome/fontawesome-free": "^5.15.2",
|
"@fortawesome/fontawesome-free": "^5.15.2",
|
||||||
"normalize.css": "^8.0.1",
|
"normalize.css": "^8.0.1",
|
||||||
"proj4": "^2.6.3",
|
"proj4": "^2.6.3",
|
||||||
"three": "^0.125.1"
|
"three": "^0.126.0"
|
||||||
},
|
},
|
||||||
"author": "Arno Kaimbacher",
|
"author": "Arno Kaimbacher",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
@ -113,7 +113,6 @@ class TinLayer extends Layer {
|
||||||
this.material = new ShaderMaterial( {
|
this.material = new ShaderMaterial( {
|
||||||
clipIntersection: true,
|
clipIntersection: true,
|
||||||
clipShadows: true,
|
clipShadows: true,
|
||||||
flatShading: true,
|
|
||||||
uniforms: uniforms.clipping,
|
uniforms: uniforms.clipping,
|
||||||
vertexShader: shader.vertexClipping,
|
vertexShader: shader.vertexClipping,
|
||||||
fragmentShader: shader.fragmentClippingFront,
|
fragmentShader: shader.fragmentClippingFront,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user