Various useful stuff for working with GLSL shaders.
GLSL-filter for doxygen
A filter for doxygen to process GLSL shader, usage explained here. An example can be seen here. You can also run
doxygen in the doxygen/doxytest subfolder to generate the documentation for a minimal example.
Integrate the doxygen filter into your project:
FILE_PATTERNS: *.frag, *.vert
FILTER_PATTERNS: "*.frag=./glslfilter.py", "*.vert=./glslfilter.py"
LaTeX Syntax-highlight with listings
If you want some colored source code in your LaTeX document feel free to use the syntax-definitions.
I've written a linter plugin for Sublime Text plugin SublimeLinter that uses Kronos Reference-Compiler glslangValidator to compile GLSL code. The errors (if any) are highlighted in the editor as shown below:
There's a bash script blurCubemap.sh to blur a cubemap, e.g. useful for diffuse reflections and IBL things. Feel free to change the blur values for a more blurred variant. The input is expected to have the name convention: