Wed, 06 Mar 2024 23:08:03 +0100
add behavior nodes + restructure test program
Also, the test program will now officially be a game of snake.
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@15 | 6 | uniform sampler2DRect surface; |
universe@15 | 7 | |
universe@15 | 8 | void main(void) { |
universe@16 | 9 | diffuse = texture(surface, texcoord); |
universe@15 | 10 | } |