Welcome to pygame_shaders’s documentation!

pygame_shaders is a simple and easy to use way to integrate GLSL shaders into new or existing pygame projects.

Features

  • Support for Frgament, Vertex and Compute GLSL shaders.

  • Ability to apply shaders to pygame surfaces, as well as direct rendering onto pygame display.

  • Easy wrapper around moderngl textures, allowing for easy communication between OpenGL textures and pygame surfaces.

Installation

pip install pygame_shaders

Indices and tables