117977b873
Multiple bunnies with multiple colored lights
2024-02-12 15:54:55 +04:00
b749d43415
Multiple meshes + 1 point light
...
almost went crazy debuggging issue with multiple UBOs block bindings :)))))
Turns out if you specify layout(binding=X) in shader and later call glUniformBlockBinding (cause you don't know what you're doing)
it will mess up all your bindings, and your camera UBO will be fed to a lights array ubo and good luck debugging that.
2024-02-12 03:56:36 +04:00
a4d78d36f6
Replace zlm with zalgebra, fix culling to be backface
2024-02-11 02:50:51 +04:00
9f60d48ae2
Add basic camera controls, try to fix terrible lag
2024-02-10 01:05:25 +04:00
1944338402
Deleted triangle stuff
2024-02-09 02:16:49 +04:00
d5bfda3300
Hot reload works again with the new asset system
2024-02-09 02:12:08 +04:00
a837984d55
Rewrite how all assets are loaded to make it easier to use
2024-02-09 01:34:33 +04:00
d91484e992
Redo how assets are loaded, remove explicit load/unload calls
...
This will make code simpler because game code will never explicitly
unload assets or retain runtime asset handles!
2024-02-08 21:48:18 +04:00
0a1d17cf9c
Mesh loading and rendering
2024-02-07 02:28:43 +04:00
894e6e54c4
Bring back OpenGL version print
2024-02-04 21:45:17 +04:00
f227d4cedd
Fix hot reload for gl
2024-02-04 21:39:21 +04:00
9945fa5b40
Remove glad, fix windows build, finally a good base
2024-02-03 04:27:10 +04:00
126a18b66b
First triangle, wow
2024-01-30 20:13:44 +04:00
0390109ff4
Add game_init_window, separate window and game hot reload
2024-01-30 17:34:43 +04:00
8d397f3941
Initial commit
2024-01-30 16:46:50 +04:00