# ands/lightmapper

A C/C++ single-file library for drop-in lightmap baking. Just use your existing OpenGL renderer to bounce light!

Repository: https://github.com/ands/lightmapper
Canonical: https://ross.abutalabs.com/products/lightmapper
Language: C
License Family: other
Last push: 2023-03-24T08:48:21+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3765, "days_push": 1258, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1540, forks 138 (observed 2026-08-28T04:05:00.479270+00:00)

## What it is
A single-file C/C++ library for baking lightmaps using an existing OpenGL renderer. It supports ambient occlusion and multi-bounce global illumination precomputation for static scene geometry.

## Use cases
- bake lightmaps for static 3D scene geometry
- precompute global illumination with multiple light bounces
- compute ambient occlusion maps for meshes
- integrate lightmap baking into an existing OpenGL renderer
- bake emissive surfaces and arbitrary light shapes into lightmaps

## When to choose
- you already have an OpenGL renderer and want drop-in lightmap baking
- you need a small dependency-free single-file solution
- you want offline GI/AO precomputation for static scenes

## When to avoid
- your engine does not use OpenGL
- you need real-time dynamic global illumination
- you need automatic UV unwrapping (pair it with xatlas or similar)

## Facets
- artifact type: library
- maturity: maintenance
- function: graphics, game-engine, image-processing
- domain: graphics
- platform: cross-platform, cpp, c
- tags: lightmap-baking, global-illumination, opengl, single-header, header-only, 3d-graphics, game-development

## Member repositories
- ands/lightmapper (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:00.479270+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:30:50.198657+00:00, confidence not recorded.
  - readme: https://github.com/ands/lightmapper (fetched 2026-08-28T04:05:00.479270+00:00, sha 996e80b095ca)
- Data as of 2026-08-30T08:39:29.467469+00:00.
