I kind of did two things in this, and it's not totally done.
First -- it makes the mesh rendering work, and adds an example for that.
Second -- it starts to make the shader variables more uniform in naming scheme. I'm going to see if I can write this up, or put them into a definitions file or something, and then see what can be yanked out and in a base class. This part isn't done, although I've started with the .inc file.
Before this can go in, what needs to happen is the inc file getting used in all the shaders. I will wait on auto-assigning the uniforms etc until a later iteration.
I kind of did two things in this, and it's not totally done.
First -- it makes the mesh rendering work, and adds an example for that.
Second -- it starts to make the shader variables more uniform in naming scheme. I'm going to see if I can write this up, or put them into a definitions file or something, and then see what can be yanked out and in a base class. This part isn't done, although I've started with the
.inc
file.