Releases: bryik/aframe-cubemap-component
v4.0.0
NOTE: the following release note is autogenerated. See CHANGELOG for a summary of major changes.
What's Changed
- Bump lodash from 4.17.15 to 4.17.19 by @dependabot in #23
- Bump elliptic from 6.5.2 to 6.5.3 by @dependabot in #24
- Bump ini from 1.3.5 to 1.3.8 by @dependabot in #25
- Bump elliptic from 6.5.3 to 6.5.4 by @dependabot in #27
- Add local development instructions to README by @bryik in #28
- Bump y18n from 4.0.0 to 4.0.1 by @dependabot in #29
- Bump lodash from 4.17.20 to 4.17.21 by @dependabot in #31
- Bump ssri from 6.0.1 to 6.0.2 by @dependabot in #30
- Bump ws from 6.2.1 to 6.2.2 by @dependabot in #32
- Bump path-parse from 1.0.6 to 1.0.7 by @dependabot in #33
- Bump minimist from 1.2.5 to 1.2.6 by @dependabot in #36
- Bump simple-get from 2.8.1 to 2.8.2 by @dependabot in #37
- Bump cached-path-relative from 1.0.2 to 1.1.0 by @dependabot in #35
- Bump shell-quote from 1.7.2 to 1.7.3 by @dependabot in #38
- Bump loader-utils from 1.4.0 to 1.4.2 by @dependabot in #41
- Bump terser from 4.8.0 to 4.8.1 by @dependabot in #40
- Bump minimatch from 3.0.4 to 3.1.2 by @dependabot in #42
- Remove Browserify, update to A-Frame v1.3.0 by @bryik in #43
- Update compatibility with threejs by @AryehMischel in #46
- Update examples to A-Frame v1.6.0 by @bryik in #48
New Contributors
- @dependabot made their first contribution in #23
- @AryehMischel made their first contribution in #46
Full Changelog: v2.1.1...v4.0.0
# v2.1.1
# v2.1.0
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
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 legacyTHREE.CubeGeometry
(which is an alias ofTHREE.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
v1.0.0
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).