Now have anti-aliasing with framebuffers and can do post processing on it. Look at shaders/30-screen-bw.frag.glsl to see.

This commit is contained in:
Zed A. Shaw 2026-09-11 14:33:20 -04:00
parent 9ce217e0e2
commit 1830faf4c9
8 changed files with 67 additions and 161 deletions

View file

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