Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/takahirox/aframe-outline

Two-pass Outline effect component for A-Frame
https://github.com/takahirox/aframe-outline

a-frame aframe aframe-outline javascript outline vr website

Last synced: 3 months ago
JSON representation

Two-pass Outline effect component for A-Frame

Awesome Lists containing this project

README

        

# A-Frame Outline component

aframe-outline is two-pass Outline effect component for A-Frame.

![screenshot](./screenshot.png "screenshot")

## Demo

[Demo](https://rawgit.com/takahirox/aframe-outline/v1.1.1/index.html)

## Properties

### aframe-outline

| Properties | type | Default Value | Description |
| ----------- | ------ | ------------- | ----------- |
| thickness | number | 0.003 | Outline thickness. |
| color | color | '#000' | Outline color. |
| alpha | number | 1.0 | Outline alpha. |

## Browser

### How to use

To apply outline effect in a scene, add `outline` attribute in `` like ``.

```html






```

## NPM

### How to install

```
$ npm install aframe-outline
```

### How to build

```
$ npm install
$ npm run all
```

### How to load

```
require('aframe');
require('aframe-outline');
```