Shaders aren't natively supported in Pygame and I advised against trying to use them in the past, but it's not impossible to use shaders with Pygame. Recently I added shaders to my Pygame project by mixing PyOpenGL with Pygame.
Music:
Adhesive Wombat - Night Shade
• AdhesiveWombat - Night Shade
Patreon (get access to Vaegrant's source code!):
/ dafluffypotato
My Discord Server:
/ discord
Shader Code:
https://github.com/DaFluffyPotato/pyg...
0:00 - so many questions
0:32 - why Pygame doesn't natively support shaders
2:10 - mixing Pygame and OpenGL
3:06 - getting the most out of Pygame while using shaders
3:36 - my implementation of shaders
3:56 - shaders in Aeroblaster
4:25 - Vaegrant, my code, and final notes
5:30 - how to learn about OpenGL with Pygame
5:42 - thanks
#gamedev #python #pygame