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

tlaukkan/aframe-three-color-gradient-shader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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/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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published