@tlaukkan/aframe-three-color-gradient-shader

0.0.1 • Public • Published

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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @tlaukkan/aframe-three-color-gradient-shader

      Weekly Downloads

      15

      Version

      0.0.1

      License

      ISC

      Unpacked Size

      2.74 kB

      Total Files

      4

      Last publish

      Collaborators

      • tlaukkan