Virtual Reality

Adding Environments

gif

1) Add the following code into your <head> section.



<script src="https://unpkg.com/aframe-environment-component@1.1.0/dist/aframe-environment-component.min.js"></script>

2) Add an environment into you <a-scene> section.

  

<a-entity environment="preset:default;"></a-entity>

3) Here are the other names you can use to replace the word default that you just copied.
Valid values: none, default, contact, egypt, checkerboard, forest, goaland, yavapai, goldmine, threetowers, poison, arches, tron, japan, dream, volcano, starry, osiris