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, softness, soft light, lightHeight, setRadii, specular, shininess, highlight, glint, lighting, ambientLight, ambientLightingColor, normalMap, SpriteIlluminator, per-pixel lighting, drawLight, torch, glow, darkness.
Listed from its GitHub repository. Reports from people who tried it will appear here.
- Source
- melonjs/melonJS
- GitHub stars
- 6,517
- License
- MIT
No reports yet
Nobody has written down how melonjs-lighting works with their agent. Tried it? Say whether it worked, and with which agent and model.
Write the first report