diff --git a/src/js/app/components/renderer.js b/src/js/app/components/renderer.js index bd4e666..5d49cab 100644 --- a/src/js/app/components/renderer.js +++ b/src/js/app/components/renderer.js @@ -24,7 +24,7 @@ export default class Renderer { this.threeRenderer.shadowMap.type = THREE.PCFSoftShadowMap; // Get anisotropy for textures - Config.maxAnisotropy = this.threeRenderer.getMaxAnisotropy(); + Config.maxAnisotropy = this.threeRenderer.capabilities.getMaxAnisotropy(); // Initial size update set to canvas container this.updateSize();