shader/font_frag.glsl

Wed, 08 Nov 2023 23:17:07 +0100

author
Mike Becker <universe@uap-core.de>
date
Wed, 08 Nov 2023 23:17:07 +0100
changeset 15
362b7659dc76
child 16
c5dde81b6fb2
permissions
-rw-r--r--

add shader loading and unloading

#version 400 core

in vec2 texcoord;
out vec4 fragment;

uniform sampler2DRect surface;

void main(void) {
    fragment = texture(surface, texcoord);
}

mercurial