shader/sprite_frag.glsl

Wed, 10 Apr 2024 19:24:39 +0200

author
Mike Becker <universe@uap-core.de>
date
Wed, 10 Apr 2024 19:24:39 +0200
changeset 53
19faf91d43d7
parent 50
d8d2e4817db1
permissions
-rw-r--r--

fix illegally skipping geometry update of text node

the reason is that the scene will not try again to update the node when it is just unhidden

     1 #version 400 core
     3 layout(location = 0) out vec4 diffuse;
     4 in vec2 texcoord;
     6 uniform sampler2DRect tex;
     8 void main(void) {
     9     diffuse = texture(tex, texcoord);
    10 }

mercurial