Closed FelliYang closed 3 years ago
Thanks for the improvement.
This relative shader path is a problem for distribution. I started a fork that does not rely on external shader files anymore. On compile time the shaders are compiled in the program code. You can find it here: https://github.com/schedldave/AOS
Current README is prone to tell people using the LFR as the CWD, however, when execute the 'main' program, must use the subdir as the CWD. This is because the code use relative path '../shader/' to file the shader files. When I tried to build the code, I had faced the problem that 'SHADER ERROR' and puzzled me for a long time. To avoid the similar situations, I recommend adding some detail about how to execute the './main' after building successfully.