highp should be used for all vector calculations, transformations etc mediump for texture coordinates More details in the shaderx7 book.