simplification of shader for running on pi