Thanks! Would it be too much to ask for both a general purpose 4x4 global matrix, as well as a material one? The shader articles I've read push towards offloading as much as possible onto the cpu leaving only essential calculations for the shader. From my inexperienced viewpoint there would seem to be some value in maximising the ability to transfer pre-calculated data to the shader routine.

For example, given the use made of Perlin noise in many shaders, it could be useful to have a noise generator in C-Script (even better as pre-built code), and a route to transfer data subsets to the shader.


Ed