16 Commits

Author SHA1 Message Date
David Gonzalez Martin
b063d570b1 Clean up shader code 2024-12-23 07:48:47 -06:00
David Gonzalez Martin
1f87446591 Reorganize shader data layout 2024-12-21 21:23:23 -06:00
David Gonzalez Martin
e742e595a4 Add support for rect gradients 2024-12-21 20:32:30 -06:00
David Gonzalez Martin
3e56493872 Fix non-uniform indexing 2024-12-03 20:24:56 -06:00
David Gonzalez Martin
4035da283c More engine refactoring 2024-12-03 15:13:48 -06:00
David Gonzalez Martin
b20395fc1c Rework engine 2024-12-03 04:54:32 -06:00
David Gonzalez Martin
6151efb0b5 Normalize textures on shader code 2024-11-30 20:44:56 -06:00
David Gonzalez Martin
e499826c1f Bindless textures 2024-11-30 20:14:07 -06:00
David Gonzalez Martin
fc9506f520 Use 4-channel pixel for font texture atlas 2024-11-30 19:04:03 -06:00
David Gonzalez Martin
ed3c76c0b0 Use shader compilation from command line
This avoid dependency compilation and linking
2024-11-30 05:18:21 -06:00
David Gonzalez Martin
8400d9f6e3 Can draw some text 2024-11-13 08:52:20 -06:00
David Gonzalez Martin
7565edc4d1 Integrate stb_truetype 2024-11-11 21:06:11 -06:00
David Gonzalez Martin
be2de1d672 Render a texture 2024-11-10 08:48:46 -06:00
David Gonzalez Martin
c80e574f01 Store pixel coordinate instead of normalized value 2024-11-09 18:00:45 -06:00
David Gonzalez Martin
0df52ab511 Compile shaders from the code 2024-11-09 11:34:13 -06:00
David Gonzalez Martin
ea56f55629 Draw a quad 2024-11-08 09:27:35 -06:00