Change to use arrays for cube textures

Requires deathcap/cube-icon@161f792d5b4b8cd1a97c481cb4ecb78462caf68d