base code
This commit is contained in:
parent
fc39b27715
commit
4f45899a3c
197 changed files with 151568 additions and 2 deletions
BIN
assets/core.wasm
Executable file
BIN
assets/core.wasm
Executable file
Binary file not shown.
7
assets/shaders/shader.frag
Normal file
7
assets/shaders/shader.frag
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#version 450
|
||||
|
||||
layout(location = 0) out vec4 outColor;
|
||||
|
||||
void main() {
|
||||
outColor = vec4(1.0, 1.0, 1.0, 1.0);
|
||||
}
|
||||
13
assets/shaders/shader.vert
Normal file
13
assets/shaders/shader.vert
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#version 450
|
||||
|
||||
layout(location = 0) in vec3 vertPos;
|
||||
|
||||
layout(binding = 0) uniform UniformObject {
|
||||
mat4 proj;
|
||||
mat4 view;
|
||||
mat4 model;
|
||||
} ubo;
|
||||
|
||||
void main() {
|
||||
gl_Position = ubo.view * ubo.proj * vec4(vertPos, 1.0);
|
||||
}
|
||||
BIN
assets/textures/atlas.png
Normal file
BIN
assets/textures/atlas.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3 KiB |
Loading…
Add table
Add a link
Reference in a new issue