Contraz / demosys-py

A light high performance modern OpenGL 3.3+ Python Framework https://demosys-py.readthedocs.io/
ISC License
64 stars 5 forks source link

Shaders: #include directive #40

Closed einarf closed 4 years ago

einarf commented 6 years ago

We should support the #include directive.

#include library/noise.glsl

This will simply replace the #include line with the contents of the file. The path should be a full resource path recognized by finders.

einarf commented 4 years ago

We'll support this in moderngl-window