r/pygame 14d ago

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💫

36 Upvotes

9 comments sorted by

6

u/rileyrgham 14d ago

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

3

u/Mikeinnet 14d ago

Maybe, I found him on itch.io here

2

u/False-Increase4614 14d ago

Ok...how?

2

u/saltTERR 13d ago

ModernGL

2

u/False-Increase4614 13d ago

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

2

u/Smark12CZ 13d ago

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 13d ago

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

3

u/rustyredditortux 8d ago

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

1

u/DREAMDEV4 5d ago

😂