Mcps
Mcps
Tool
Extract Map Lights
extract_map_lightsExtract light sources from a BSP map. Returns lights from two sources: (1) entity lights — 'light' entities in the BSP entity lump with position, intensity, color, radius. (2) lightgrid-mined lights — inferred from the baked radiosity lightgrid by finding bright spots and clustering nearby samples. Useful for path tracing setup: pass extracted lights to the renderer's point light buffer. Parameters: include_lightgrid (default true), lightgrid_threshold (0-255, default 180), cluster_radius (Quake units, default 128).
Pricing
Per call
$0.02
Model
time-based
Pay only for what you use. No subscriptions.
Inputs
include_lightgrid
booleannulllightgrid_threshold
integernullcluster_radius
numbernullmap *
stringTry It
API
MCP Config
Input Parameters
Also mine lightgrid for inferred lights (default: true)
Lightgrid brightness threshold 0-255 (default: 180). Lower = more lights.
Cluster radius in Quake units for grouping nearby lightgrid samples (default: 128)
BSP map (bare name, path, or pk3 lookup)

