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