WaveSim now correctly renders to a texture