Added comments for how to  handle texture arrays later.