make spectral.frag work on mobile