项目作者: aframeai

项目描述 :
Using Fragment Shaders to embed Implicit Geometries into A-Frame
高级语言: JavaScript
项目地址: git://github.com/aframeai/aframe-shader-experiments.git
创建时间: 2020-09-28T02:43:44Z
项目社区:https://github.com/aframeai/aframe-shader-experiments

开源协议:

下载


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