04/shaders/shader.vert

12 lines
160 B
GLSL
Raw Normal View History

2022-08-04 08:39:56 +00:00
#version 330 core
layout(location = 0) in vec3 pos;
uniform mat4 vp;
uniform mat4 model;
void main()
{
gl_Position = vp * model * vec4(pos, 1.0);
}