I just finished rewriting the entire shader system within the engine. GLSL shaders are now generated on demand and are optimized for the materials they are used on. I also re wrote my shader files so they are pretty flexible.
I understand how everything works but I want to make sure the documentation is clear. Is there anything that's not explained in this?
Here is the default fallback shader with the documentation commented into it. (its the blue and white checkerboard shader)
Here's the metal floor shader I just threw together for a test.
And here's the cloud shader used in the skybox.
Heres a picture of that metal floor shader as well.
![]()
Bookmarks