Hi again, as I wrote in the other post, something to consider for this is if it is possible to upgrade it to a general "shader engine". For example, if the user would like to add a costume shader, the user have to go into the source and modify it so that it reads in the costume shader files and add some lines for the rendering.
If on the other hand one could split your light_engine into 1) light shader part and 2) a general shader engine, the shader engine could handle the light shader stuff and also any other user input costume shaders.
I am not sure how easy or difficult it will be to implement something like this but perhaps something to have in mind. :)
Hi again, as I wrote in the other post, something to consider for this is if it is possible to upgrade it to a general "shader engine". For example, if the user would like to add a costume shader, the user have to go into the source and modify it so that it reads in the costume shader files and add some lines for the rendering.
If on the other hand one could split your light_engine into 1) light shader part and 2) a general shader engine, the shader engine could handle the light shader stuff and also any other user input costume shaders.
I am not sure how easy or difficult it will be to implement something like this but perhaps something to have in mind. :)