Module pp_shaders
Post-processing shader library for Lua.
This basically wraps around the shader framework and allows to easily create some post-processing shaders with minimal code overhead.
Functions
newShader (fragcode) | Creates a new post-processing shader. |
Functions
- newShader (fragcode)
-
Creates a new post-processing shader.
Parameters:
- fragcode string Fragment shader code.
Returns:
-
The newly created shader.