DaFluffyPotato | How I Added Shaders to Pygame @DaFluffyPotato | Uploaded July 2022 | Updated October 2024, 2 hours ago.
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
youtube.com/watch?v=py60u7pnRUA
Patreon (get access to Vaegrant's source code!):
patreon.com/dafluffypotato
My Discord Server:
discord.gg/9Qt2GxF
Shader Code:
github.com/DaFluffyPotato/pygame-shaderlib
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
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
youtube.com/watch?v=py60u7pnRUA
Patreon (get access to Vaegrant's source code!):
patreon.com/dafluffypotato
My Discord Server:
discord.gg/9Qt2GxF
Shader Code:
github.com/DaFluffyPotato/pygame-shaderlib
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