Currently, all shaders are hardcoded in the library. There is no way of altering them without running from the source. I propose adding a map with shader type and ShaderProgram to the RayHandler and setters so they can be changed during runtime. This is easy enough to implement. The main problem would be support for extra uniforms, as it would complicate the code a bit. Ill submit pull request with implementation sometime soonish.
My end goal is to update shaders to support some sort of normal maps. What do you think?
Currently, all shaders are hardcoded in the library. There is no way of altering them without running from the source. I propose adding a map with shader type and ShaderProgram to the RayHandler and setters so they can be changed during runtime. This is easy enough to implement. The main problem would be support for extra uniforms, as it would complicate the code a bit. Ill submit pull request with implementation sometime soonish.
My end goal is to update shaders to support some sort of normal maps. What do you think?