For graphics engineers Metal macOS · iOS · visionOS

Metal-level control. Without starting from scratch.

Write your own Metal shaders, add render and compute passes, and read the engine's scene buffers through a documented extension API. Reuse the render graph, scene management and Vision Pro integration instead of building them yourself.

Custom shader demo built with Untold Engine

The problem

Between a fixed renderer and building your own.

High-level frameworks are great until your app needs a shader, a pass or a GPU algorithm they don't expose. Writing a Metal renderer from scratch gives you that control, but you also take on the render graph, resource management, culling, streaming and stereo output. Untold Engine gives you that foundation as open-source code, and lets you plug your own rendering into it.

What you get

Your rendering technology. Our rendering infrastructure.

01

Write your own Metal shaders

Write standard Metal Shading Language and use the same shaders on macOS, iOS and Apple Vision Pro. The XR path runs the same render graph as macOS; only frame timing, per-eye rendering and the device anchor differ.

Shader libraries are compiled per platform SDK. The source is shared; the build output is not.

02

Add passes, not patches

  • RenderExtension and RenderExtensionPlugin register your shader libraries, render and compute pipelines, and passes.
  • Stable stage anchors such as .afterOpaqueLighting, .beforeTransparency and .beforePostProcess place your pass where it belongs.
  • Resources are namespaced per extension, and the graph schedules read/write hazards between passes.
  • Registration is validated and rolled back on failure.
  • Ship an extension inside your app, or as a reusable Swift Package.
03

Inside the scene, not on top of it

Extensions read and write the engine's real scene targets. Depth, lit opaque color and the final composite are named graph resources (.sceneDepth, .opaqueLighting, .sceneComposite), and sceneRenderTargets gives you an encoder against the actual color and depth attachments. Custom geometry is depth-tested against everything else in the scene.

04

Pass the data your shaders need

Each model-surface extension gets its own argument buffer with 8 textures, 8 samplers and 16 buffers of custom data. Slots are namespaced, so several extensions can run side by side without colliding.

These numbers describe the extension binding layout, not the engine's total GPU capacity.

What you can build with it

Effects you write, on infrastructure you reuse.

Screen-space outlines Depth-based water and foam Toon and stylized shading Custom compositing Depth-aware particles

These are examples of what the extension API makes possible. You write them; they are not built in.

Diagnostics

See what your GPU is doing.

Frame profiler

CPU and GPU frame timing, draw calls, triangles and culling stats, readable in code through profiler snapshots.

Structured logging

Category-filtered logs with custom sinks, so you see only the subsystems you care about.

Spatial Debugger

Overlays for octree, streaming residency, frustum culling, LOD and texture tiers.

Buffer debug views

Look inside G-buffer channels, occlusion and luminance.

Batching reports

Material batching reports that name the cause of a slowdown.

1,000+ automated tests

Coverage across rendering, animation, streaming and physics.

Already built on it

A specialized pipeline: Gaussian splats.

Untold Engine ships a complete splat pipeline built on the same infrastructure. It is open source, so you can tune or replace any stage.

Included

  • Direct .ply loading and a baked .untoldgs format
  • Chunk-level culling and progressive LOD
  • Disk-backed paging and shared working-set memory budgets
  • Splats mixed with regular meshes in one scene

Good to know

  • There is no visual shader graph. Custom shading means writing Metal.
  • The bundled extension examples are API reference fixtures, not production effects.
  • On Vision Pro, real-world reflections come from a low-resolution environment probe, so mirror-like surfaces look softer.

Need a rendering capability that doesn't exist yet?

Untold Engine is open source under MPL-2.0 and free to use in commercial apps. Commercial licensing is available if you want to keep changes to engine internals private. For custom shaders, pipelines or GPU optimization, projects start with a paid proof of concept, usually 1–2 weeks.

Discuss Your Project →

 

Start building today.

Free and open source under MPL-2.0. Clone it, read it, change it, ship with it.

Like the project? Sponsor Untold Engine →