- Real-Time 3D Graphics with WebGL 2
- Farhad Ghayour Diego Cantor
- 50字
- 2021-06-10 19:42:53
Vertex Shader
The vertex shader is called on each vertex. The shader manipulates per-vertex data, such as vertex coordinates, normals, colors, and texture coordinates. This data is represented by attributes inside the vertex shader. Each attribute points to a VBO from where it reads vertex data.