Add chapter 2.1-end

This commit is contained in:
2022-01-25 13:51:01 +01:00
commit d52638c282
18 changed files with 2272 additions and 0 deletions

12
resources/backing.fs Normal file
View File

@@ -0,0 +1,12 @@
#version 330 core
out vec4 FragColor;
in vec2 TexCoords;
uniform sampler2D screenTexture;
void main()
{
vec3 col = texture(screenTexture, TexCoords).rgb;
FragColor = vec4(col, 1.0);
}