How I Added Shaders to Pygame

Subscribers:
102,000
Published on ● Video Link: https://www.youtube.com/watch?v=xCxbgyXW1lo



Duration: 6:01
26,841 views
1,055


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
https://www.youtube.com/watch?v=py60u7pnRUA

Patreon (get access to Vaegrant's source code!):
https://www.patreon.com/dafluffypotato

My Discord Server:
https://discord.gg/9Qt2GxF

Shader Code:
https://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







Tags:
python
pygame
gamedev
game development
programming
coding
computer science
pygame shaders
pygame shader
pygame opengl
pyopengl
opengl
python opengl
shaders in pygame
How I Added Shaders to Pygame