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

11
resources/backing.vs Normal file
View File

@@ -0,0 +1,11 @@
#version 330 core
layout (location = 0) in vec2 aPos;
layout (location = 1) in vec2 aTexCoords;
out vec2 TexCoords;
void main()
{
TexCoords = aTexCoords;
gl_Position = vec4(aPos.x, aPos.y, 0.0, 1.0);
}