matrices to shaders
converted Box factory to Cuboid