A fishing boat rocking on the sea at dawn
Rendered in the engine · A buoyant boat at dawn
A cabin in a pine forest with a campfire
Rendered in the engine · A cabin in the pines, a campfire and its light
A forest at night under volumetric clouds and moonlight
Rendered in the engine · 4 am under volumetric clouds
A smoking volcano at dusk over a field of burning trees
Rendered in the engine · A volcano 4 km away, its glow and plume
A snowy valley ringed by mountains and spruce
Rendered in the engine · A high valley in the snow
Marmol Engine

A world engine, built from scratch.

A real-time 3D engine in C++23 on Vulkan: its own renderer, physics, audio and editor, and the games built on it. Skies that keep time, terrain to the horizon, water, glass, fog that parts as you walk through it.

Showcase

Every picture here is a frame the engine drew.

Taken from the engine's own test scenes, with no editor on screen.

Sky and atmosphere

A sky that keeps time.

One sky through a whole day: volumetric clouds lit by the sun, the afterglow of twilight, then moonlit clouds and stars.

Cumulus clouds over a pale horizon at noon
12:00noon
Violet twilight with the afterglow on the horizon
18:09the sun 2° below the horizon
The moon and stars between moonlit clouds
20:00moonlit clouds and stars
Worlds

Terrain out to the horizon.

Seen from a player's height: ground that streams in to the edge of sight, with forests, snow and fire on it.

A meadow of flowers and grass under maple groves
Plains. Flower drifts, wheat, lavender and maple groves.
A snowy valley ringed by mountains and spruce forest
Snow mountains. A high valley, snow-laden spruce, snowfall that follows the player.
A smoking volcano at dusk over charred trees and fires
Volcano. A cone 4 km away with its glow and plume, lava lakes, burning vents.
Fog

Fog that parts and swirls.

A block rides a loop through low ground fog. The fog parts round it, a small fluid solve carries its wisps round the block and curls them behind it, and the trail fills back in. Anything that moves can part the fog this way, characters included.

Inside

Everything, written for this engine.

The renderer, the editor and the gameplay layer are the engine's own; physics stands on Jolt, audio on miniaudio.

Rendering

  • Vulkan 1.3, deferred, physically based
  • Volumetric clouds, fog, god rays and a day/night cycle
  • Terrain to the horizon, water, glass and portals
  • GPU-driven foliage in one shared wind
  • Four quality presets, Low to Ultra

Physics

  • Rigid bodies and buoyancy
  • A movement kit: mantle, slide, dive, wall jumps
  • Ragdolls with dismemberment
  • Navmesh agents, crowds and avoidance
  • Deterministic record and replay

Audio

  • 3D sound with occlusion and reverb zones
  • Footsteps by surface, contact sounds
  • Area ambience and music
  • A mix graph ending in a limiter

Gameplay

  • Lua scripts reacting to game events
  • Triggers, checkpoints, health, fire, lasers
  • Cameras, cutscenes and paths
  • A game clock that pauses and slows
  • Rebindable input and gamepads

Editor

  • Outliner, inspector, gizmos, undo and redo
  • Linked prefabs with per-copy fields
  • Terrain sculpting, foliage and texture paint
  • Three marble themes

Tooling

  • Per-frame CPU and GPU profiling, and its history
  • Validation sweeps on two GPU drivers
  • Test benches for fog, UI and upscaling
  • A portable game build for Linux
C++23language
Vulkan 1.3graphics
Linux firstWindows in progress