Debian Codegraph @

visualization.spectrum/resources/shaders/GLES/vert.glsl

raw
1 #version 100
2
3 precision mediump float;
4
5 uniform mat4 u_projectionMatrix;
6 uniform mat4 u_modelViewMatrix;
7 uniform float u_pointSize;
8
9 attribute vec4 a_position;
10 attribute vec4 a_color;
11
12 varying vec4 v_color;
13
14 void main()
15 {
16 gl_Position = u_projectionMatrix * u_modelViewMatrix * a_position;
17 gl_PointSize = u_pointSize;
18 v_color = a_color;
19 }