Debian Codegraph @

src/scene/glsl/source/simplest.vs

raw
1 /* Simplest GLSL vertex shader.
2 Used also when we're OK with the simplest shader that transforms
3 vertexes with projection + modelview and really nothing more.
4 */
5
6 uniform mat4 castle_ModelViewProjectionMatrix;
7 attribute vec4 castle_Vertex;
8
9 void main(void)
10 {
11 gl_Position = castle_ModelViewProjectionMatrix * castle_Vertex;
12 }