Added point light prototype
This commit is contained in:
parent
3f6e2c2b6b
commit
b3e82ca9df
7 changed files with 144 additions and 33 deletions
13
examples/movement/shaders/lightSourceShader.vert
Normal file
13
examples/movement/shaders/lightSourceShader.vert
Normal file
|
@ -0,0 +1,13 @@
|
|||
#version 330 core
|
||||
layout (location = 0) in vec3 aPos;
|
||||
layout (location = 1) in vec2 aUV;
|
||||
layout (location = 2) in vec3 aNormal;
|
||||
|
||||
uniform mat4 model;
|
||||
uniform mat4 view;
|
||||
uniform mat4 projection;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = projection * view * model * vec4(aPos, 1.0);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue