/aframe-shader-experiments

Using Fragment Shaders to embed Implicit Geometries into A-Frame

Primary LanguageJavaScript

A-Frame Shader Experiments

Using fragment shaders to embed implicit geometries (defined by signed distance functions) seamlessly into a poly-mesh world...

screenshot-mandelbulb

raytrace.js

This script extends upon the aframe-raytrace-component by Andrew Fraticelli.

Currently using custom versions of this component in each experiment
to accomodate for different attributes / uniforms such as time or color...

Shader Code

  • cube — hello world template to get you started
  • blob — taken directly from the examples of aframe-raytrace-component.
  • rings — a variation of the blob shader feat. rotating donuts rather than blobs
  • mandelbulb — the infamous Mandelbulb in a version crafted by Ingo Quiliez
    adapted to work with raytrace.js

License

All code except for the Mandelbulb code is MIT licensed.

© 2017 Andrew Fraticelli
© 2020 @bitcraftlab

Mandelbulb Code

CC BY-NC-SA 3.0 licensed.

© 2013 inigo quilez
© 2020 @bitcraftlab