Files
ResInsight/VisualizationModules/LibRender/glsl/vs_Minimal.glsl
2012-05-18 09:45:23 +02:00

17 lines
435 B
GLSL

uniform mat4 cvfu_modelViewProjectionMatrix;
attribute vec4 cvfa_vertex;
//--------------------------------------------------------------------------------------------------
/// Vertex Shader - Minimal
//--------------------------------------------------------------------------------------------------
void main ()
{
gl_Position = cvfu_modelViewProjectionMatrix*cvfa_vertex;
#ifdef CVF_OPENGL_ES
gl_PointSize = 1.0;
#endif
}