1.0.1 • Published 5 years ago

aframe-upload-test v1.0.1

Weekly downloads
3
License
-
Repository
-
Last release
5 years ago

aframeFrogShaders

Import Frog Shaders into AFrame (Inspired by (bryik): https://bl.ocks.org/bryik/33590d2cc9f712bd4bb040941e6efe22)

Example

Using New Composed Shader by entropy found here: http://shaderfrog.com/app/view/1068 alt tag

Usage:

Add the aframe-shader-frog.js as a javascript file: <script src="/js/aframe-shader-frog.js"></script>

Or simply add reference to the file, keep in mind this file will likely change and be updated: <script src="https://cdn.jsdelivr.net/npm/aframe-shaders/aframe-shader-frog.js"></script>

Now use it in your scene: <a-sphere shader-frog="src:url(<shader url>.json)"></a-sphere> You will need to upload this file to your server or access the json that you can save from shaderfrog.com

1.0.1

5 years ago