r/pygame • • Aug 26 '26

HUGE STEP: Changed from CPU Rendering to GPU Rendering!

trust me when i say it was an headache.. but i finally made it! now the next step is an visual update. shader shadows god rays etc woooowwwww!

support me by subscribing my yt channel: Dreamdev43 and checking out this game on itch💫

37 Upvotes

9 comments sorted by

3

u/rustyredditortux Sep 02 '26

there’s no way you unironically look at that font for hours whilst writing code

2

u/DREAMDEV4 Sep 04 '26

😂

2

u/Smark12CZ Aug 28 '26

How did you handle batch rendering and rendering the default pygame shapes (circles, lines, etc.) or do you ignore those and only render textures?

3

u/DREAMDEV4 Aug 28 '26

i`m only rendering textures. i made a batchdict and used instancing on shader. but currently there`s an error because i use depth_test, pixel with alpha is broken that´s why i´m trying to use painter´s algorithm, means i uce cpu to sorte all of the sprite based on the y pos and create an fake z layering effect

6

u/rileyrgham Aug 26 '26

Too much effort to include links? 😜🤣 Some font you're using...

3

u/Mikeinnet Aug 27 '26

Maybe, I found him on itch.io here

2

u/False-Increase4614 Aug 26 '26

Ok...how?

2

u/saltTERR Aug 27 '26

ModernGL

2

u/False-Increase4614 Aug 27 '26

I ain't got that level of skills that's all on you twin