monitor3D.frag 153 B

123456789101112
  1. uniform sampler2D u_tex;
  2. in float v_color;
  3. in vec2 v_texCoord;
  4. out vec4 fragColor;
  5. void main()
  6. {
  7. fragColor = v_color * texture(u_tex, v_texCoord);
  8. }