Wed, 10 Apr 2024 19:20:44 +0200
use new scale2d function in text update
universe@15 | 1 | #version 400 core |
universe@15 | 2 | |
universe@16 | 3 | layout(location = 0) out vec4 diffuse; |
universe@15 | 4 | in vec2 texcoord; |
universe@15 | 5 | |
universe@50 | 6 | uniform sampler2DRect tex; |
universe@15 | 7 | |
universe@15 | 8 | void main(void) { |
universe@50 | 9 | diffuse = texture(tex, texcoord); |
universe@15 | 10 | } |