@fern-solutions/three-mirror

0.1.3 • Public • Published

Three.js Mirror

npm version npm version github twitter mastodon ko-fi

This is a WIP project

This project introduces a Mirror object that you can add to your Three.js scenes. It's based on my A-Frame component and works in the same way: @fern-solutions/aframe-mirror

Usage

See example/index.html for an example of how to use this.

Limitations

  • Mirrors are not rendered recursively, so any mirror seen from another mirror will just render as an opaque plane
  • Avoid mixing transparency with mirrors (e.g. looking at a mirror through transparent objects). Depending on the render-order this either results in the overlap being an opaque mirror or the transparent object not being visible.

Readme

Keywords

Package Sidebar

Install

npm i @fern-solutions/three-mirror

Weekly Downloads

1

Version

0.1.3

License

MIT

Unpacked Size

11.7 kB

Total Files

5

Last publish

Collaborators

  • mrxz