mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
This reverts commit 8226a9479ce8ab45bed5bc6acbba63eaaf0e6330. point light shadows fixed spotlights geometry shaders
15 lines
199 B
GLSL
Executable File
15 lines
199 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;
|
|
vec4 pos=proj*view*vec4(aPos,1);
|
|
gl_Position=pos;
|
|
}
|