Skip to content

update to aframe 1.5.0 and three.js r160 #38

@Algorush

Description

@Algorush

I'm updating component to the latests aframe and three.js versions. I wanted to ask for advice. The latest versions of the WorkerPool and KTX2Loader libraries only support the jsm format. If I set type=module when calling these scripts from the examples, then an access error to three occurs, apparently in one of the libraries. If I insert import map into the example files like this then it works good:

    <script type="importmap">
      {
        "imports": {
          "three": "https://unpkg.com/[email protected]/build/three.module.js"
        }
      }
    </script>

Only now the textures from the examples are always at a low level of detail. Although I tried increasing the values:

 maximumMemoryUsage: 400,
 memoryCacheOverflow : 128

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions