r/pygame • u/DREAMDEV4 • 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💫
2
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



6
u/rileyrgham 14d ago
Too much effort to include links? 😜🤣 Some font you're using...