I Spent 1 Week Learning to Code 2D Lighting with Bevy & Rust @bipedpotato
I Spent 1 Week Learning to Code 2D Lighting with Bevy & Rust  @bipedpotato
Uploaded August 2025 | Updated September 2026, 1 week ago
#gamedev #bevy #rustlang
Last week I decided to spend a week of my free time trying to figure out how to write a 2d lighting system for the Bevy Game Engine. I decided to do this mainly because without any kind of lighting, my games seemed kind of flat and less visually appealing than I hoped they would be. In this video I built a wgsl compute shader based lighting system which supports point lights and physically based sprite lights by applying a lighting mask texture to a render texture of the scene. Point lights should be self explanatory but I was also able to implement physically accurate sprite lights which shoot rays of light that can be interactively blocked by the player sprite or terrain tiles. Overall, I learned a lot from this experience and hope to spruce up the lighting system so that I can use it in future projects more comfortably and robustly.

I Spent 1 Week Learning to Code 2D Lighting with Bevy & Rust

Join my Discord!
discord.gg/cRba8sDqAy

Timestamps
0:00 - Intro
0:34 - Demo Scene Setup
1:04 - Pre Development Brainstorming
2:00 - Quick Compute Shader Explanation
3:23 - Light Mask Explanation
3:50 - Point Light Shader
5:17 - Sprite Light Shader
7:30 - Outro

Music
Marshmellow - Lukrembo
Link : youtu.be/y7KYdqVND4o
Onion - Lukrembo
Link: youtube.com/watch?v=KGQNrzqrGqw
Better Days - LAKEY INSPIRED
Link : youtube.com/watch?v=RXLzvo6kvVQ
I Spent 1 Week Learning to Code 2D Lighting with Bevy & RustRemaking my Abandoned Game 2 years later with Bevy and RustMetroidvania Game Devlog #0 Introduction -Sewer Oasis-I Spent 1 Week Learning to Code Shaders with Bevy & RustRemaking my game from scratch in an ECS with Rust and BevyHow to make AI swarm a mesh C# unity tutorialI Joined a Game Jam for the FIRST TIME in 2 YearsCoding Active Ragdolls with Bevy & RustHow to import 3D Models and Animations from Blender to BevyHow to make an FPS Game with Bevy and Rust -Part 2 Movement/3D Models
Biped Potato |

I Spent 1 Week Learning to Code 2D Lighting with Bevy & Rust

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER