Remaking Celeste's Lighting (2017)
10 months ago
- #game-development
- #lighting
- #optimization
- Celeste's lighting was designed to enhance the game's mood and atmosphere, making the mountain exploration feel immersive.
- Initial lighting implementation used a complex mesh system for each light, which was fast but buggy with edge cases.
- A new 'Cutout Implementation' was developed, using textures for lights and shadows, simplifying the process but increasing texture swaps.
- Optimization was achieved by using single-channel masks, allowing up to 4 lights per texture by utilizing different color channels.
- Further optimization leveraged the game's small resolution, packing all lights into a single large texture, significantly improving performance.