Pygame Shaders
lastmod 2026-11-10created 2024-03-282 edits
pygame_shaders is a Python library that makes it easy to apply GLSL shaders to games made with pygame. It uploads a pygame Surface as an OpenGL texture and renders it to the screen through a shader, so existing 2D drawing code can stay as it is while only post-processing effects such as bloom, distortion, and color correction are added with shaders. pygame itself has no shader functionality, so helper libraries like this are used.
a library to easily integrate shaders into your new or existing pygame projects