mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
added previously not added shader files
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#version 330 core
|
||||
|
||||
layout (location = 0) in vec3 aPos;
|
||||
|
||||
out vec3 WorldPos;
|
||||
|
||||
uniform mat4 proj;
|
||||
uniform mat4 view;
|
||||
|
||||
void main(){
|
||||
WorldPos = aPos;
|
||||
gl_Position = proj * view * vec4(aPos, 1);
|
||||
}
|
||||
Reference in New Issue
Block a user