0.0.1 • Published 6 years ago

@tlaukkan/aframe-three-color-gradient-shader v0.0.1

Weekly downloads
14
License
ISC
Repository
github
Last release
6 years ago

A-Frame Atmosphere Component

Stripped down to contain only atmospheric sky functions from : https://github.com/feiss/aframe-environment-component

Demo

Usage


<script src="https://unpkg.com/@tlaukkan/aframe-three-color-gradient-shader@0.0.1/index.js"></script>

...

<a-sky geometry="primitive: sphere" material="shader: threeColorGradientShader; topColor: #D57500; middleColor: #4E6172; bottomColor: #000000;offset: 0.0"></a-sky>

Publish package

First publish


npm publish --access public

Update


npm version patch
npm publish