Commit graph

19 commits

Author SHA1 Message Date
Lorenzo Torres
93e91d7902 Fixed alignment issue of point lights buffer
Instead of using an array of descriptors for storing the lights, now
only one descriptor maps the entire array.
2025-08-09 15:02:53 +02:00
Lorenzo Torres
503ed33aec Fully implemented lighting
Two types of light sources are currently supported: directional lights
and point lights. A scene can have only one directional light and up to
1024 point lights.
2025-08-08 03:18:08 +02:00
luccie-cmd
8282a299b1 Rename preinit to init and add more instructions 2025-08-06 18:51:48 +02:00
Lorenzo Torres
8b5f33ee3f Fixed normal transformation 2025-08-06 17:51:03 +02:00
Lorenzo Torres
defdf051ec Implemented rotations 2025-08-06 16:35:29 +02:00
Lorenzo Torres
7a634d53b5 Added transformation in the vertex shader 2025-08-06 16:12:02 +02:00
luccie-cmd
85c33ec204 Remove assets/core.wasm 2025-08-06 15:56:25 +02:00
luccie-cmd
3c105c235e [ASSETS] create a seperate assets/mods directory 2025-08-06 15:55:21 +02:00
Lorenzo Torres
6b948f6718 Implemented transformations 2025-08-06 15:32:32 +02:00
Lorenzo Torres
5b51a3d571 Implemented basic lighting! 2025-08-05 19:06:58 +02:00
Lorenzo Torres
dcb2ee0584 Added camera uniforms for projection and view matrix 2025-08-04 17:23:00 +02:00
Lorenzo Torres
f894fb317d Implemented wayland initialization code 2025-08-03 23:23:03 +02:00
Lorenzo Torres
16a2a40418 moved rendering to a system.
To ensure that the rendering system is being run in the main thread, I
added the concept of "Sync systems", so that when a system group is
created it's possible to specify whether it's possible to run it on a
separate thread or not.
2025-03-29 16:15:56 +01:00
Lorenzo Torres
7cf43ccb8b glTF models now take buffer lengths at runtime 2025-03-24 19:49:49 +01:00
Lorenzo Torres
56559a9386 implemented glTF loading 2025-03-24 19:40:35 +01:00
luccie-cmd
bbe9213573 Added block instruction in WASM VM
Signed-off-by: luccie-cmd <luccie@sideros.org>
2025-03-21 22:49:37 +01:00
Lorenzo Torres
7ce5902ec9 preliminary work on ecs 2025-03-20 23:40:20 +01:00
Lorenzo Torres
c805dbe1a0 removed binary files from repository 2025-03-16 17:30:16 +01:00
Lorenzo Torres
4f45899a3c base code 2025-03-12 19:56:19 +01:00