Solution to pre-compute the textures for a given material, produces
stackoverflow through infinite recursion. Nice.