shader/sprite_frag.glsl

Thu, 21 Mar 2024 23:01:09 +0100

author
Mike Becker <universe@uap-core.de>
date
Thu, 21 Mar 2024 23:01:09 +0100
changeset 43
5a8c31904e44
parent 40
6c438be1a1fd
child 50
d8d2e4817db1
permissions
-rw-r--r--

fix iteration order when drawing nodes

#version 400 core

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

uniform sampler2DRect surface;

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

mercurial