shader/sprite_frag.glsl

Wed, 10 Apr 2024 19:35:14 +0200

author
Mike Becker <universe@uap-core.de>
date
Wed, 10 Apr 2024 19:35:14 +0200
changeset 56
428fbb8355eb
parent 50
d8d2e4817db1
permissions
-rw-r--r--

add convenience function to add nodes to the UI of the active window

#version 400 core

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

uniform sampler2DRect tex;

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

mercurial