@tlaukkan/aframe-three-color-gradient-shader
v0.0.1
Published
A-Frame Three Color Gradient Shader
Downloads
52
Readme
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/[email protected]/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