Commit graph

11 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
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
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
4f45899a3c base code 2025-03-12 19:56:19 +01:00