Salome HOME
projects
/
modules
/
gui.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Second integration of PV3D viewer:
[modules/gui.git]
/
src
/
VTKViewer
/
resources
/
Background.vs.glsl
1
#version 330 core
2
#if (__VERSION__ >= 130)
3
in vec4 ColorBG;
4
in vec4 Color;
5
in vec3 Vertex;
6
#else
7
#define Vertex gl_Vertex;
8
#define Color gl_Color;
9
#endif
10
11
out vec4[2] VSColor;
12
void main()
13
{
14
gl_Position = vec4 (Vertex.xyz, 1.0);
15
VSColor[0] = Color;
16
VSColor[1] = vec4 (ColorBG.xyz, 1.0);
17
}