You are browsing as a guest. Sign up (or log in) to start making projects!

Python Shaderlib

  • 1 Devlogs
  • 7 Total hours

A library I'm making in python for pygame to make shaders easy. I started with a basic 40 minute tutorial and have been building it from there to allow for anyone to be able to modularly create new shaders and objects to apply the shaders onto.

Open comments for this post

7h 15m 42s logged

I’m making a library to make shaders in python and pygame easier with moderngl. All of the basic functionality has been set up, I just need to do some more refactoring to make creating different shaders more condensed and as extrapolated as possible from the lower level stuff. There’s still a lot to do for it to be completely finished. So far you can create objects containing a position, scale, and sprite. The main script handles creating objects from the obj script, displaying a window, and calling the renderer to draw to it. The renderer is where the heavy lifting is done, and communicates with the vertex and fragment shaders to display the final result. You will still have to write the shaders themselves, but the setup and implementation will be much easier.

0
0
2

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…