let-engine 0.1.0-alpha

A game engine to learn vulkan made by Let. Not done yet.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#version 450
layout (location = 0) out vec4 f_color;
layout (location = 1) in vec2 tex_coords;

layout (set = 0, binding = 1) uniform Object {
	vec4 color;
	uint layer;
} object;

layout (set = 1, binding = 0) uniform sampler2D tex;

void main() {
    f_color = vec4(object.color.rgb, texture(tex, tex_coords).r * object.color.a);
}