I actually ended up getting it to work. I set it up so each Shader Module can have a 'library' of other Modules, and it automatically builds its "main" with the other Shaders functions. Each Shader...
Type: Posts; User: CyRaid
I actually ended up getting it to work. I set it up so each Shader Module can have a 'library' of other Modules, and it automatically builds its "main" with the other Shaders functions. Each Shader...
Hmm.. It's not so much Includes that I want, it's the ability to compile Shaders into Modules, and, like a 'c' program the GLSL tries to emulate, you can export functions and variables between...
Hello all.
I'm currently trying to minimize Compile time and resources by reusing Shaders. My target is not GLSL 4+ with Subroutines, but, I do want to emulate multiple effects per Shader...