feat: post-processing effects

This commit is contained in:
MihailRis
2025-04-05 00:41:25 +03:00
parent 22e97b1766
commit ba170035ef
19 changed files with 216 additions and 84 deletions
+7 -4
View File
@@ -6,10 +6,13 @@
TEST(GLSLExtension, processing) {
GLSLExtension glsl;
glsl.addHeader("sum",
"// sum function for glsl\n"
"float sum(float a, float b) {\n"
" return a + b;\n"
"}\n"
glsl.process("sum.glsl",
"// sum function for glsl\n"
"float sum(float a, float b) {\n"
" return a + b;\n"
"}\n",
true
)
);
try {
auto processed = glsl.process("test.glsl",