Working on a huge shader refactor today, with the goal of being able to hot reload shaders.

Each shader used to be two large strings (one for the fragment shader and one for the vertex shader), but now they are constructed from these 5 strings.

This keeps uniform and varying names consistent too!
Post image

Comments