midway through moving random number stuff to shader