Now have multiple lights.
This commit is contained in:
parent
a1d2c7768d
commit
1b7066757a
63 changed files with 13886 additions and 17 deletions
11
13-multiple-lights/shaders/4.2.texture.fs
Normal file
11
13-multiple-lights/shaders/4.2.texture.fs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#version 330 core
|
||||
|
||||
out vec4 FragColor;
|
||||
in vec2 TexCoord;
|
||||
|
||||
uniform sampler2D texture1;
|
||||
|
||||
void main()
|
||||
{
|
||||
FragColor = texture(texture1, TexCoord);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue