Have framebuffer mostly working, but light calculations are not there.
This commit is contained in:
parent
ea80851450
commit
27e34a18c9
5 changed files with 50 additions and 19 deletions
11
21-framebuffers/shaders/21-framebuffers.frag.glsl
Normal file
11
21-framebuffers/shaders/21-framebuffers.frag.glsl
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#version 330 core
|
||||
out vec4 FragColor;
|
||||
|
||||
in vec2 TexCoords;
|
||||
|
||||
uniform sampler2D texture1;
|
||||
|
||||
void main()
|
||||
{
|
||||
FragColor = texture(texture1, TexCoords);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue