Post #2467884
2026-05-05 12:34 UTC
First game dev thing I did as a young teen that I was proud of was 2D shadows. Took me like 2 weeks to get working. Now it takes like 30 minutes. Brings me back still
Replies (2)
-
@natalie@my.softerhearts.club 2026-05-05 12:50
Will probably move this over to a shadow mask texture. Shadowed areas set to black, lit areas to white. Then render over the screen with transparency. Bit more realistic. Could do low resolution effects, make the shadows pixel-licious. There's lots of optimisation needed. Currently it's raw polylines projected every frame. Box, circle and thick line optimized shapes will be useful at minimum and cached normals for the polyline. Then there's light falloff. This sudden urge brought to you by.... Darkwood
-
@natalie@my.softerhearts.club 2026-05-05 12:34
Honestly the moment I was hooked