GLSL Loading Macro
[load_glsl] macro is similar to [std::include_str] but it has some differences:
- it loads files from
glsldirectory at the project root, - it supports
#include <lib/color.glsl>or#incluide "../lib/color.glsl"macro in the files.
[load_glsl] macro is similar to [std::include_str] but it has some differences:
glsl directory at the project root,#include <lib/color.glsl> or #incluide "../lib/color.glsl" macro in the files.