aframe-sun-sky

3.0.4 • Public • Published

aframe-sun-sky

screen shot 2016-09-22 at 5 58 20 pm

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/aframe-sun-sky@3.0.3/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');

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i aframe-sun-sky

    Weekly Downloads

    19

    Version

    3.0.4

    License

    MIT

    Unpacked Size

    1.37 MB

    Total Files

    12

    Last publish

    Collaborators

    • dmarcos
    • ngokevin