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