]> SALOME platform Git repositories - modules/gui.git/blob - src/VTKViewer/resources/Vertex_Program_ARB.txt
Salome HOME
Merge remote-tracking branch 'origin/rnv/vtk_opengl2_backend' into V8_1_BR
[modules/gui.git] / src / VTKViewer / resources / Vertex_Program_ARB.txt
1 attribute float diameter;
2
3 void main()
4 {
5   gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
6   gl_FrontColor = gl_Color;
7   gl_PointSize = 1400.0 * gl_ProjectionMatrix[1].y * diameter;
8 }