simplify SEM shader (also reportedly fixes iOS8 WebGL bug)