Various other components.
hand-controls
. Requires sphere-collider
and using CANNON physics.grab
.cube-env-map
Usage:
<a-entity gltf-model="src: url(my-model.gltf);"
cube-env-map="path: assets/folder/;
extension: jpg;
reflectivity: 0.5;
materials: myPrimaryMaterial, myAccentMaterial;">
</a-entity>
Option | Description |
---|---|
path | Folder containing cubemap images. Path should end in a trailing / . Assumes naming scheme negx.<ext> , posx.<ext> , … |
extension | File extension for each cubemap image. |
reflectivity | Amount [0,1] of the cubemap that should be reflected. |
materials | Names of materials to be modified. Defaults to all materials. |