
Now that you have the basics of coding web VR using HTML & A-Frame, let's throw in a little Java to make it even better!
Use ctrl +Alt +i to open up the inspector.
Here is your guide to adding environments, particle systems, oceans, and MORE!
Here are some very quick code snippets to get you started quickly!
Add this line of code to your heading to include the necessary library:
<script src="https://unpkg.com/aframe-environment-component@1.3.0/dist/aframe-environment-component.min.js"></script>
You can add this code to your scene to get a very fast preview, edit it to your liking:
<a-entity environment="preset: goldmine;
dressing: mushrooms;
dressingAmount: 20;
dressingColor: orange;
dressingScale: 1"></a-entity>
Questions?
We can continue adding to these notes if you find useful things to share!

Comments