bismuth 0.0.4

A 3D game world represented as cubes in an oct-tree that can be manipulated in real time.
1
2
3
4
5
6
7
8
9
10
11
12
#version 150 core

in vec4 v_color;
in vec2 v_uv;

out vec4 f_target0;

uniform sampler2D t_texture;

void main() {
    f_target0 = texture(t_texture, vec2(v_uv.x, -v_uv.y)) * v_color;
}