OpenGL_Clock/shaders/SimpleVertexShader.vertexshader

13 lines
247 B
Text
Raw Normal View History

2018-02-07 00:24:12 +00:00
#version 330 core
// Input vertex data, different for all executions of this shader.
layout(location = 0) in vec3 vertexPosition_modelspace;
void main(){
gl_Position.xyz = vertexPosition_modelspace;
gl_Position.w = 1.0;
}