initial commit

This commit is contained in:
2020-08-25 21:57:31 +03:00
commit 3e29fd4373
166 changed files with 24675 additions and 0 deletions

11
shaders/fxaa.vert Normal file
View File

@@ -0,0 +1,11 @@
out vec4 pos;
const float FXAA_SUBPIX_SHIFT = 1. / 4.;
uniform vec2 dt;
void main(void) {
qgl_FragTexture = qgl_Texture;
pos.xy = qgl_Texture.xy;
pos.zw = qgl_Texture.xy - (dt * (0.5 + FXAA_SUBPIX_SHIFT));
gl_Position = qgl_ftransform();
}