shader/sprite_frag.glsl

Mon, 01 Apr 2024 18:54:19 +0200

author
Mike Becker <universe@uap-core.de>
date
Mon, 01 Apr 2024 18:54:19 +0200
changeset 47
44457f6cb0a2
parent 40
6c438be1a1fd
child 50
d8d2e4817db1
permissions
-rw-r--r--

remove unnecessary scene container

#version 400 core

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

uniform sampler2DRect surface;

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

mercurial