aframe-ring-shader
v1.2.0
Published
A ring shader for A-Frame.
Downloads
34
Readme
aframe-ring-shader-component
A Ring Shader component for A-Frame.
For A-Frame.
API
| Property | Description | Default 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');