When I want to make my shader files(developed by glsl) as part of the resource system, it would complain that
the files are not under the folder and need to copy them.The problem is, I don’t want to maintain 2(or 2 + n)
same shader files in my codes.Copy the shader files don’t look like a good solution.
The work around I am thinking is write those shader codes into .cpp files as string const or char const*, what
kind of solution would you suggest?
ps : I prefer resource system because I want to make sure the program can find the shader file without any problem
↧