Software Development

melonJS Lighting

Use this skill for 2D dynamic lighting in melonJS — Light2d, ambient light on a Stage, multiple lights, and per-pixel normal-mapped sprites authored in SpriteIlluminator. Covers specular highlights via shininess, the ambient-cutout model, which parts need a GPU backend, and why Light2d does not survive a Camera3d. Triggers on: Light2d, specular, shininess, highlight, glint, lighting, ambientLight, ambientLightingColor, normalMap, SpriteIlluminator, per-pixel lighting, drawLight, torch, glow, darkness.

Publisher / source
melonjs/melonJS (found on GitHub top repositories)
Upstream record
melonjs/melonJS
Version
Version 1
Published
Publication review
Approved for publication · recorded passed scan 2026-11-04
Content fingerprint
ace3dfaa8fe75fb4319805777e4be10facfebeb0798ff6c01a0ac7cec5b2a2ca