Leir Engine Emblem Leir Engine Logo leir256studios Logo

The Modern 2D & 3D Engine
Built Without Yesterday's Compromises

Leir Engine is a high-performance cross-platform engine engineered from the ground up for 2D & 3D games and visual applications. By abandoning legacy graphical APIs, Leir Engine delivers an ultra-lean RHI powered by DirectX 12, Vulkan, WebGPU, and Metal, unified Slang shading, AAA Jolt Physics, and a custom native UI.

FOOTPRINT < 300 MB Portable
TARGET HARDWARE 4 Cores & 4 GB RAM
SHADER BACKEND Khronos Slang (HLSL-Parity)
PHYSICS PIPELINE Jolt SIMD Engine
Leir Engine • Active Alpha Development

Engineered to challenge bloated multi-gigabyte commercial suites. A standalone, sub-300MB editor that executes in seconds anywhere with dockable/floating windows and zero bloated third-party dependencies.

Explicit Modern RHI

Zero Legacy Baggage. Pure Modern Backends.

Old graphics APIs like OpenGL and DirectX 11 brought decades of driver overhead, driver-side hacks, and non-deterministic behavior. Leir Engine abandons obsolete tech to deliver an ultra-clean, noise-free Render Hardware Interface (RHI).

Noise-Free Explicit RHI

Every command buffer, pipeline state object (PSO), descriptor heap, and resource barrier is modeled directly against modern explicit hardware. No runtime driver guessing, zero unpredictable stutters.

DX12 Vulkan 1.3 Metal 3

Native WebGPU Pipeline

Export high-fidelity 2D and 3D experiences directly to the web with zero compromise. WebGPU enables browser compute shaders, async pipelines, and near-native GPU execution.

WebGPU Wasm SIMD Zero Plugins

Cross-Platform: Windows, Linux & macOS

Engineered from day one for seamless multiplatform deployment. First-class desktop runtime support across Windows (DirectX 12 / Vulkan), Linux (native Vulkan), and macOS / Apple Silicon (Metal & MoltenVK) without architectural fragmentation.

Windows Linux macOS Apple Silicon

Portable & Dependency-Lean

No reliance on external heavy runtime libraries. Every system is built natively to maximize portability, meaning the entire engine unzips and runs anywhere under 300MB.

< 300MB No Bloat Fully Standalone

Hybrid Scene & ECS Core

Combine an intuitive node hierarchy for visual composition and rapid development with a cache-aligned Entity Component System (ECS) for massive simulation throughput.

Dual-Model Data-Oriented Cache-Friendly

Future Mobile Readiness

Clean RHI abstraction ensures seamless future deployment targets for Android (Vulkan) and iOS (Metal) without refactoring game logic or shader pipelines.

Android Vulkan iOS Metal On Roadmap
FUTURE-PROOF SHADING

Single-Source Cross-Platform Shaders with Slang

Shader management has historically plagued multiplatform engines. Leir Engine is an early pioneer embracing Slang, now backed by the Khronos Group as the definitive cross-compilation shading language for the future.

Write your shading code once. Slang compiles cleanly into SPIR-V for Vulkan, DXIL for DirectX 12, MSL for Metal, and WGSL for WebGPU—with zero dialect friction.

%

100% Shader Parity: HLSL & Slang

Leir Engine utilizes a conservative approach maintaining complete compatibility with standard HLSL constructs while reaping modern module and generic features.

Rapid Migration Architecture

While betting heavily on Slang's industry adoption, Leir Engine's shader subsystem is designed to pivot or translate instantly if future requirements demand.

Shaders/Core/PBR_Standard.slang
Khronos Slang
// Leir Engine - Universal Cross-Platform PBR Shader
import LeirCore.RHI;
import LeirCore.Lighting;

struct VertexInput {
    float3 position : POSITION;
    float3 normal   : NORMAL;
    float2 uv       : TEXCOORD0;
};

struct PixelOutput {
    float4 color    : SV_Target0;
    float4 gbuffer  : SV_Target1;
};

[shader("pixel")]
PixelOutput fragmentMain(VertexOutput input) {
    PixelOutput output;
    // Computes PBR direct & indirect lighting
    float3 radiance = EvaluatePBR(input.worldPos, input.normal);
    output.color = float4(radiance, 1.0);
    output.gbuffer = float4(EncodeNormal(input.normal), input.roughness, 0.0);
    return output;
}
MODERN GRAPHICS PIPELINE

Clean RHI. Zero Obsolete APIs.
Unified Shaders with Khronos Slang.

Most industry engines drag decades of technical debt — OpenGL legacy state machines, driver workarounds, and fragmented shader variants. Leir Engine sheds the past entirely, targeting strictly explicit modern graphics APIs.

RHI Backends

Hardware-Explicit Abstraction

Our custom Render Hardware Interface (RHI) is designed without noisy abstraction layers. Every command buffer, resource barrier, and pipeline state object matches the metal precisely.

Windows DirectX 12 • Vulkan • WebGPU
macOS Metal • MoltenVK
Linux Vulkan 1.3
Web WebGPU (Wasm Core)
Mobile (Roadmap) Vulkan (Android) • Metal (iOS)
Shading Revolution

Pioneering with Khronos Slang

Leir Engine pioneers the adoption of Slang — the next-generation shading language maintained by Khronos Group. Write shaders once with full modern modularity, generics, and capabilities, and generate targeted bytecodes across platforms.

  • 100% HLSL Similitude: Seamless compatibility and near-zero cognitive friction for graphics engineers accustomed to modern HLSL syntax.
  • Decoupled Transpilation: While Leir heavily bets on Slang as the universal standard, our compilation pipeline is modular and decoupled, ensuring rapid backend migration if the ecosystem ever demands it.
  • Cross-Target Precision: Compiles seamlessly to DXIL, SPIR-V, Metal Shading Language (MSL), and WGSL without messy manual macros.
HIGH PERFORMANCE DYNAMICS

Powered by Jolt Physics.
SIMD Multiprocessing at the Core.

We rejected legacy physics libraries like Bullet in favor of Jolt Physics — the state-of-the-art physics engine deployed in AAA blockbusters such as Sony Playstation 5's Horizon.

SIMD Parallelism

Why Jolt Beats Legacy Solutions

Bullet was architected decades ago. Jolt is engineered from the ground up for modern multicore computing:

  • Hardware SIMD: Fully leverages AVX2, AVX-512, and ARM Neon vector instruction sets for collision queries.
  • Multi-Threaded Task Dispatch: Broadphase, narrowphase, and constraint solvers run in lock-free worker pools.
  • Deterministic Simulation: Perfect lockstep capabilities for network play and repeatable game state logic.
Architecture

Hybrid Hierarchy + High-Throughput ECS

Why force developers to pick between ergonomics and raw speed? Leir Engine seamlessly marries both:

  • Artist-Friendly Scene Graph: Familiar transform parenting, local/global hierarchies, and intuitive visual manipulation.
  • Data-Oriented ECS Core: Transform caches and component data arrays packed linearly in cache lines to crush cache misses.
  • Indie to Enterprise: Intuitive enough for a solo creator making a 2D indie, resilient enough for studios running thousands of simulated entities.
Horizon Forbidden West - Powered by Jolt Physics
HORIZON FORBIDDEN WEST • JOLT ON PS5

Jolt Physics: Powered Horizon for PS5

Guerrilla Games deployed Jolt Physics to drive the intricate robotic collisions, ragdolls, and massive mechanical simulations in Horizon Forbidden West. Leir Engine integrates this exact same modern physics engine directly into its core to bring PlayStation 5 caliber SIMD throughput to your games.

Death Stranding 2 - Powered by Jolt Physics
DEATH STRANDING 2 • JOLT PHYSICS

Jolt: Also Used in Death Stranding 2

Hideo Kojima's anticipated masterpiece Death Stranding 2: On the Beach leverages the Decima engine backed by Jolt Physics for hyper-dense terrain interactions and complex dynamic environmental simulations. Leir Engine delivers that identical high-performance physics pipeline out of the box.

INDUSTRY COMPARISON

How Leir Engine Redefines the Standards

Feature / Criterion Leir Engine Bloated Traditional Engines
Editor Binary Footprint < 300 MB Portable 15 GB – 60+ GB with bloated installers
Minimum RAM / CPU 4 GB RAM / 4-Core CPU 16 GB – 32 GB RAM, high-end GPU required
Modern RHI Backends DirectX 12, Vulkan 1.3, Metal, WebGPU Legacy OpenGL workarounds & tangled layers
Shading Architecture Khronos Slang (100% HLSL Parity) Fragmented dialect macros (HLSL / GLSL / Metal)
Physics Integration Jolt Physics (AAA PS5 SIMD-Optimized) Outdated Bullet or heavy commercial libraries
UI Subsystem Proprietary Native Batched + lxml Heavily patched ImGui or bloated WebViews
Application Ecosystem 2D/3D Games, AI Media, Agentic Video Tools Standard game pipeline only
THE STUDIO BEHIND THE ENGINE

Engineered by leir256studios

leir256studios is a creative and technological studio specializing in AI-augmented audiovisual multimedia production and next-generation software development.

Viral Multimedia Production

The studio produces AI-powered audiovisual content that has garnered millions of views across social networks, pushing the frontier of generative video and synthetic staging.

Viral Multimedia Production - leir256studios

Agentic AI Software Tools

We develop modern desktop tools with embedded autonomous agentic capabilities — empowering creators and video editors to accelerate complex generative workflows by 1,000x.

Agentic AI Software Tools - leir256studios
Why Leir Engine is our Strategic Bedrock

"Leir Engine didn't originate as an academic exercise. It was born out of direct operational necessity. leir256studios uses Leir Engine as the foundational core for all our proprietary desktop creative tools, video editing suites, and generative engines. Every performance enhancement, memory fix, and RHI shader pass is dogfooded daily under brutal production deadlines. When Leir Engine reaches its final release phase, it will be fully opened to creators worldwide."

— leir256studios Gabriel Frasca
Discover the studio's projects and generative applications: Visit leir256studios.com

Follow the Development of Leir Engine

Experience the next generation of lean, hyper-efficient 2D & 3D engineering backed by the creative power of leir256studios.