shader/sprite_frag.glsl

Thu, 15 Aug 2024 17:33:42 +0200

author
Mike Becker <universe@uap-core.de>
date
Thu, 15 Aug 2024 17:33:42 +0200
changeset 72
84472fb3adbd
parent 50
d8d2e4817db1
permissions
-rw-r--r--

define macro for predefined shader

#version 400 core

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

uniform sampler2DRect tex;

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

mercurial