change particles to use mediump