Added frame buffer support.

This commit is contained in:
2021-05-05 07:37:25 -07:00
parent 8546a2bcf8
commit 0d997bc08b
12 changed files with 170 additions and 45 deletions

View File

@ -8,5 +8,6 @@ out vec4 FragColor;
void main() {
vec4 color = texture(u_Text, TexCoord);
FragColor = color;
FragColor = color + vec4(0.25, 0.25, 0.25, 1);
// FragColor = vec4(1, 0, 0, 1);
}