shader/sprite_frag.glsl

Mon, 01 Apr 2024 19:44:00 +0200

author
Mike Becker <universe@uap-core.de>
date
Mon, 01 Apr 2024 19:44:00 +0200
changeset 49
77493525eac2
parent 40
6c438be1a1fd
child 50
d8d2e4817db1
permissions
-rw-r--r--

cleanup includes

#version 400 core

layout(location = 0) out vec4 diffuse;
in vec2 texcoord;

uniform sampler2DRect surface;

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

mercurial