Starting normal maps.
This commit is contained in:
parent
7ca9302834
commit
e13e94ecce
146 changed files with 16471 additions and 0 deletions
10
43-normal-maps/shaders/33-depth.vert.glsl
Normal file
10
43-normal-maps/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