gtether 0.1.1

Highly concurrent multiplayer focused game engine, with an emphasis on realtime streamable asset management.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#version 450

layout(location = 0) in vec2 position;
layout(location = 1) in float index;
layout(location = 2) in vec2 offset;
layout(location = 3) in vec2 scale;
layout(location = 4) in vec3 color;

layout(location = 0) out vec3 tex_coords;
layout(location = 1) out vec3 tex_color;

void main() {
    gl_Position = vec4(position * scale + offset, 0.0, 1.0);
    tex_coords = vec3(position.x, position.y, index);
    tex_color = color;
}