We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba4a896 commit c677c5eCopy full SHA for c677c5e
index.js
@@ -565,7 +565,7 @@ AFRAME.registerComponent('environment', {
565
emissiveMap: this.gridTexture
566
};
567
568
- // use .shading for A-Frame < 0.6.0 and .flatShading for A-Frame >= 0.7.0
+ // use .shading for A-Frame < 0.7.0 and .flatShading for A-Frame >= 0.7.0
569
if (new THREE.Material().hasOwnProperty('shading')) {
570
this.groundMaterialProps.shading = this.data.flatShading ? THREE.FlatShading : THREE.SmoothShading;
571
} else {
0 commit comments