fixed config load order, cleaning up shaders

This commit is contained in:
Jarcode
2017-12-02 17:34:22 -08:00
parent 4a6ba00ec4
commit bb9fbfc4fc
8 changed files with 58 additions and 26 deletions

View File

@@ -8,7 +8,7 @@ uniform ivec2 screen; /* screen dimensions */
out vec4 fragment; /* output */
#define OUTLINE vec4(0.15, 0.15, 0.15, 1)
#include "../graph.glsl"
void main() {
fragment = texture(tex, vec2(gl_FragCoord.x / screen.x, gl_FragCoord.y / screen.y));