Shaders aren't natively supported in Pygame, but with ModernGL and some tricks, we can add OpenGL shaders using GLSL to any Pygame game!
Related Documentation:
https://pyga.me/docs/ref/display.html...
https://moderngl.readthedocs.io/en/la...
Code Written in Video:
https://dafluffypotato.com/static/scr...
Patreon:
/ dafluffypotato
Hue Flowing:
https://dafluffypotato.itch.io/hue-fl...
My Discord:
/ discord
ModernGL Discord:
/ discord
Potato Tier Patrons:
Agent Effe
Chris Birster
Eivind Teig
Fatcake
RyDawgE
Sam Cork
GaryTMSFruitcake
Kirat=1
Dale Topley
#python #pygame #gamedev