Moved wave data out of shader and into program.