using mediump instad of highp for compatibility and reasons