Of course, with this, the textures are cut out of a line going in the
direction < 1, 1, 1>, if you used rand() instead, you could have them
cut out of random positions in a cube. This is only important if you are
using repeating patterns or patterns which are only in a certain area,
though.