add: added point light shader and light object shader
This commit is contained in:
parent
d1b444bcef
commit
0337c70e26
3 changed files with 68 additions and 16 deletions
9
resources/shaders/light_object.glsl
Normal file
9
resources/shaders/light_object.glsl
Normal file
|
@ -0,0 +1,9 @@
|
|||
#version 330 core
|
||||
out vec4 FragColor;
|
||||
|
||||
uniform vec3 lightColor;
|
||||
|
||||
void main()
|
||||
{
|
||||
FragColor = vec4(lightColor, 1.0f);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue