Quinn Williams
← Project index

Sheet 04 of 09 · Electrical/CS · Art

Real-time Mandelbulb Explorer

An interactive 3D fractal explorer in Unreal Engine 5: ray-marched Mandelbulb and Julia sets you can fly into at any scale with a controller.

Real-time Mandelbulb Explorer

An interactive 3D fractal exploration game built in Unreal Engine 5. The player moves through a volumetric Mandelbulb and its associated Julia sets at any scale.

Rendering. The fractal is drawn by ray marching in an HLSL shader using signed distance functions, with depth buffers, dynamic lighting, shadows and Phong shading. Shadows come from marching rays toward the light and testing for intersections. Camera speed scales with distance from the surface, which gives a sense of infinite zoom. An Xbox controller adjusts camera movement and fractal parameters such as the recursive power and rendering options.

Lessons. Switching to dynamic-step ray marching removed the banding artifacts caused by static steps and improved performance. At extreme zoom, floating-point precision limits produce blocky artifacts, which I treated as a visual illustration of the limits of computation.

Spec sheet
RoleDesigner & developer
DisciplinesElectrical/CS · Art
ToolsUnreal Engine 5, HLSL, C++, Blueprint, Python, Blender
EngineUnreal Engine 5
RendererRay marching in HLSL with signed distance functions
InputXbox controller