mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
14 lines
184 B
GLSL
Executable File
14 lines
184 B
GLSL
Executable File
#version 330 core
|
|
|
|
layout (location=0) in vec3 aPos;
|
|
|
|
out vec3 texCoords;
|
|
|
|
uniform mat4 proj;
|
|
uniform mat4 view;
|
|
|
|
void main(){
|
|
texCoords=aPos;
|
|
gl_Position=proj*view*vec4(aPos,1);
|
|
}
|