Clap Engine v0

Clap is a lightweight, flexible, cross-platform, procedurally-oriented game engine targeting Linux, macOS, Windows, and WebAssembly. This tag marks the end of the prerelease cycle — the most stable and feature-complete version to date.
Screenshots
Procedural color grading + ambient lighting

Real-time debug UI with configurable rendering passes

Neon-lit environment with stylized outlines and bloom

🚨 Major Features Since v0-pre1
- PBR lighting with support for ambient light sources
- Procedural LUT generation and color grading pipeline
- Variance Shadow Maps (VSM) replacing older shadow rendering
- Dynamic shadow map resolution calculation (scene-aware)
- LOD generation and distance-based entity scaling
- Touchscreen → mouse input remapping for WebGL builds
- ImGui-based render debugger and real-time entity inspector
- Rewritten lighting pipeline and general render pass infrastructure
- Tons of architectural cleanups and bugfixes
💻 Platform Support
Platform | Notes |
---|---|
Linux | ✅ Native and WebAssembly |
macOS | ✅ Native and WebAssembly |
Windows | ✅ Native via MinGW |
Web | ✅ WASM + WebGL2 |
Build system: pure C + CMake + shaderc/spirv-cross + zero runtime dependencies (aside from OpenGL/WebGL).
🎮 Demos
platform | testbed release build | testbed test build | ldjam57 release build | ldjam57 test build |
---|---|---|---|---|
web | clap | claptest | ldjam57 | ldjam57 test |
linux x86_64 | clap | ldjam57 | ||
Mac OS X arm64 | clap | ldjam57 | ||
Windows x64 | clap | claptest | ldjam57 | ldjam57test |
The windows executables are cross-built on linux using MinGW. There are also native windows builds: clap, ldjam57
🕹️ Ludum Dare game jam entry built with Clap:
Towards the Light (LDJAM57)
📌 Tag Details
- 1863 commits in total
- 394 commits since
v0-pre1
- 343 commits since
ldjam57v1
v0-pre1
introduced the base lighting pipeline and scene graph- This tag marks the completion of foundational work — and the start of a new cycle
- Exactly 5 years since the very first commit