• There is no default precision in WebGL fragment shaders.
  • High precision is default for vertex shaders.
precision highp float;
Copy the code
  • Commonly used is mediump
precision mediump float;
Copy the code
  • Lowp is not recommended. It is not supported on most mobile devices
  • It is not recommended for mobile deviceshighpAnd does not support