gKit2 light
Loading...
Searching...
No Matches
aaquads.glsl
Go to the documentation of this file.
1
3
4#version 430
5
6#ifdef VERTEX_SHADER
7
8in vec3 position;
9
10uniform mat4 mvpMatrix;
11
12void main( )
13{
14 gl_Position= mvpMatrix * vec4(position, 1);
15}
16#endif
17
18
19#ifdef FRAGMENT_SHADER
20
21#ifdef EARLY_TESTS
22layout(early_fragment_tests) in;
23#endif
24
25out uint fragment_data;
26
27void main( )
28{
29 fragment_data= gl_PrimitiveID +1;
30}
31#endif
vecteur generique, utilitaire.
Definition vec.h:169
vecteur generique 4d, ou 3d homogene, utilitaire.
Definition vec.h:192