aframe-sun-sky
v3.0.4
Published
Gradient sky with adjustable sun in A-Frame
Downloads
76
Readme
aframe-sun-sky
Usage
Browser Installation
Install and use by directly including the browser files:
<head>
<title>My A-Frame Scene</title>
<script src="https://aframe.io/releases/0.9.0/aframe.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/aframe-sun-sky.min.js"></script>
</head>
<body>
<a-scene>
<a-sun-sky></a-sun-sky>
// <a-entity material="shader: sunSky"></a-entity>
</a-scene>
</body>
NPM Installation
Install via NPM:
npm install aframe-sun-sky
Then register and use.
require('aframe');
require('aframe-sun-sky');