diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-05-16 19:31:31 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-05-16 19:31:31 +0200 |
commit | 68081ef4f1f51b5753e25a1be6f870eb2e84f76e (patch) | |
tree | d251806a4c05543a1262ecd3b86d00e33708a506 /visuals.frag | |
parent | fe2d38b584e814ae6bb44e122ecec3d546976c8a (diff) |
experiment with vertex shader
Diffstat (limited to 'visuals.frag')
-rw-r--r-- | visuals.frag | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/visuals.frag b/visuals.frag new file mode 100644 index 0000000..3539bdc --- /dev/null +++ b/visuals.frag @@ -0,0 +1,8 @@ +#version 330 core + +#include "config.h" + +void main() { + gl_FragColor = vec4(gl_FragCoord.x / WIDTH, gl_FragCoord.y / HEIGHT, 0, 1); +} + |