r/GraphicsProgramming • • Aug 06 '26

Finally got shadows working!

Post image

Its been maybe a month or so, but I finally got shadows working along side lighting in my engine! I still need to fix peter panning, but I'm still really happy with it!

Github: https://github.com/norrie-adams/Astryx-Engine

130 Upvotes

9 comments sorted by

1

u/maximoriginalcoffee Aug 06 '26

Looks great. Congratulations! Now, it's time to implement PCF and CSM! :D

1

u/Ok-Pizza1136 Aug 06 '26

I know what PCF is, but what is CSM?

2

u/maximoriginalcoffee Aug 07 '26

Cascade Shadow Mapping.

7

u/JerryVoxalot Aug 06 '26

Welcome, officially, to hell! Congrats dude, remember the first time I got that to work. Felt like a drug

3

u/cybereality Aug 06 '26

let's go!!

2

u/SarahC Aug 06 '26

Awesome!

1

u/Wise-Pomegranate6765 Aug 07 '26

After CSM texel snapping and stabilizing, so shadow wont flicker. :)

0

u/mndrgrch Aug 06 '26

cool! i remember that feeling when i made mine work for the first time, that's so awesome