Skip to content

Releases: bryik/aframe-cubemap-component

v4.0.0

06 Sep 19:15
Compare
Choose a tag to compare

NOTE: the following release note is autogenerated. See CHANGELOG for a summary of major changes.

What's Changed

New Contributors

Full Changelog: v2.1.1...v4.0.0

# v2.1.1

02 Jun 02:50
Compare
Choose a tag to compare

Changes

  • Upgrade to Webpack v4.43.0 #22

This is an extremely minor release mostly done to test the new build system.

# v2.1.0

16 May 16:49
Compare
Choose a tag to compare

Changes

  • folder property can now be a selector to an <a-cubemap> asset. a34ca46
<a-assets>
  <a-cubemap id="yokohama">
    <!--The order of these images is important!-->
    <!-- https://threejs.org/docs/index.html#api/en/textures/CubeTexture -->
    <img src="../../assets/Yokohama3/posx.jpg" />
    <img src="../../assets/Yokohama3/negx.jpg" />
    <img src="../../assets/Yokohama3/posy.jpg" />
    <img src="../../assets/Yokohama3/negy.jpg" />
    <img src="../../assets/Yokohama3/posz.jpg" />
    <img src="../../assets/Yokohama3/negz.jpg" />
  </a-cubemap>
</a-assets>

<a-entity id="skybox" cubemap="folder:#yokohama"></a-entity>

Full example.

v2.0.0

10 May 22:08
Compare
Choose a tag to compare

Breaking changes:

  • Transparency is no longer supported. I spent a couple hours investigating, but ultimately gave up trying to figure out why this no longer works. Issue. e5afe10

Changes

  • Geometry, texture, and material are now properly disposed on component removal. Prior to this, updating or adding/removing would leak resources. 27ef4f7

  • Component updates are handled more granularly (changing edgeLength is now cheap as it only rescales the mesh). 9d7a612

  • THREE.BoxBufferGeometry is now used instead of the legacy THREE.CubeGeometry (which is an alias of THREE.BoxGeometry).

  • Possible texture update races have been mitigated. Issue. 629f3a8

  • Color correction is now applied to textures. See this issue for more details. 32bf16c

v1.0.1

03 May 20:31
Compare
Choose a tag to compare

Changes:

  • /examples is no longer published to NPM; this vastly reduces the size of the package. PR.

v1.0.0

03 May 20:06
Compare
Choose a tag to compare

Breaking changes:

  • Updated aframe-cubemap-component to work with the latest version of A-Frame (v1.0.4). PR.

At some point, Three.js removed the 'tCube' shader uniform which cubemap-component relied on. The fix is described in this SO question. This fix is apparently not compatible with older versions of three.js/A-Frame (at least it does not work with A-Frame v0.7.0).