Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Latest commit

 

History

History
42 lines (28 loc) · 1.14 KB

File metadata and controls

42 lines (28 loc) · 1.14 KB

A-Frame Three Color Gradient Shader

Modified shader from: https://github.com/zcanter/aframe-gradient-sky/blob/master/README.md

Demo

https://aframe-three-color-shader-demo.glitch.me/

view source button remix button

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