1.2.0 • Published 5 years ago

aframe-ring-shader v1.2.0

Weekly downloads
6
License
MIT
Repository
github
Last release
5 years ago

aframe-ring-shader-component

Version License

A Ring Shader component for A-Frame.

For A-Frame.

API

PropertyDescriptionDefault Value

Installation

Browser

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-ring-shader-component/dist/aframe-ring-shader-component.min.js"></script>
</head>

<body>
  <a-scene>
    <a-entity ring-shader="foo: bar"></a-entity>
  </a-scene>
</body>

npm

Install via npm:

npm install aframe-ring-shader-component

Then require and use.

require('aframe');
require('aframe-ring-shader-component');