Have to comit this to git is too stupid to move it.
This commit is contained in:
parent
995de63671
commit
7b1c05f87c
146 changed files with 16471 additions and 0 deletions
10
41-point-shadows/shaders/33-depth.vert.glsl
Normal file
10
41-point-shadows/shaders/33-depth.vert.glsl
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#version 330 core
|
||||
layout (location = 0) in vec3 aPos;
|
||||
|
||||
uniform mat4 lightSpaceMatrix;
|
||||
uniform mat4 model;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = lightSpaceMatrix * model * vec4(aPos, 1.0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue