Skip to content
WebGL Ray Marching MandelBulber 3D rendering
JavaScript HTML CSS GLSL
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.
WebGL/MBulber
jsLib
screenShots
Readme.md
_config.yml
license.txt

Readme.md

WebGL MandelBulb Ray Marching 3D rendering

WebGL MandelBulb Ray Marching 3D rendering with the following features:

  • light model (blinn-phong)
  • shadows
  • ambient occlusion
  • subpixel subdivision
  • level of details (epsilon)
  • auto-progressive step of accuracy.

Commands

  • LeftMouseButton - Rotate object
  • RightMouseButton - Rotate light
  • MouseWheel - Zoom in/out

Live WebGL

https://www.michelemorrone.eu/WebGL/MBulb/WebGL/MBulber/MBulb.html

Description

This is my 2012 pure WebGL 1.0 Experiment, without 3th party WebGL tools/library.

It uses only gl-matrix js library for 3D transformations, and other self-made tools in the jsLib directory

Warnings

For standalone use, on local computer, need of an http server to load external glsl shader file.

Commons workarounds

For safety the browsers can't load external files from local machine, but if you want to test this experiment, without a http server, you can use a workaround:

Chrome

Launch browser with --allow-file-access-from-files command line option.

Firefox (from v.68 and above: before works fine w/o any settings)

In about:config url (config page), set privacy.file_unique_origin = false

You can’t perform that action at this time.