Fixed deprecation

This commit is contained in:
Paul Graffam 2020-07-06 17:27:24 -04:00
parent 529f28f781
commit f3502290c4
1 changed files with 1 additions and 1 deletions

View File

@ -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();