Graphite Version 3
An experimental 3D geometry processing program
Loading...
Searching...
No Matches
portable_fragment_shader.h
1//import <GLUP/current_profile/fragment_shader_preamble.h>
2//import <GLUP/defs.h>
3
4#if defined(GLUP150) || defined (GLUP440)
5in VertexData {
6 vec4 color;
7 vec4 tex_coord;
8 vec3 normal;
9} FragmentIn;
10vec4 tex_coord = FragmentIn.tex_coord;
11#elif defined(GLUPES2)
12glup_in vec4 tex_coord;
13#endif
vecng< 3, Numeric::float64 > vec3
Represents points and vectors in 3d.
Definition geometry.h:65
vecng< 4, Numeric::float64 > vec4
Represents points and vectors in 4d.
Definition geometry.h:71