aframe-mirror-component | Mirror effect material that works with snapshots | Augmented Reality library
kandi X-RAY | aframe-mirror-component Summary
kandi X-RAY | aframe-mirror-component Summary
Mirror effect material that works with snapshots of the scene for A-Frame
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Registers a module .
- 15 . 2 . 2
aframe-mirror-component Key Features
aframe-mirror-component Examples and Code Snippets
Community Discussions
Trending Discussions on aframe-mirror-component
QUESTION
I'm trying to set up a refraction sphere in a-frame, following Mr. Lee Stemkoski's example. I've managed to get a reflection sphere, which is basically a strip of the cool a-frame mirror component.
The CubeCamera is created, and its renderTarget is extracted as envMap texture upon initialize:
Init:
ANSWER
Answered 2017-Aug-08 at 20:01Lee Stemkoski's example was built four years ago for an older version of Three.js. His source code states Date: July 2013 (three.js v59dev)
, but your fiddle is using v84.
You should look at this example which is compatible with the latest version of Three.js. If you look at the source code, the implementation is much simpler now:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install aframe-mirror-component
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page