Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

aframe-shaders

1.0.1 • Public • Published

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

Keywords

none

Install

npm i aframe-shaders

DownloadsWeekly Downloads

2

Version

1.0.1

License

none

Unpacked Size

88.5 kB

Total Files

12

Last publish

Collaborators

  • avatar