Skip to content
Import Frog Shaders into AFrame
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
README.md
aframe-shader-frog.js
example.png

README.md

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://rawgit.com/msj121/aframeFrogShaders/master/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

You can’t perform that action at this time.