Discussion Imagine Making game engine With Lua
Imagine building a 3D or 2D game engine from scratch using only Lua
0
Upvotes
Imagine building a 3D or 2D game engine from scratch using only Lua
View all comments
Show parent comment
2
u/CapsAdmin Mar 28 '26
This is very cool. I gave up on opengl on macos, but vulkan does seem to work very well with https://docs.mesa3d.org/drivers/kosmickrisp.html , though it requires the user to do manual setup.
for opening a window, I use https://github.com/CapsAdmin/goluwa3/blob/main/goluwa/bindings/cocoa.lua and https://github.com/CapsAdmin/goluwa3/blob/main/goluwa/bindings/objc.lua
however, something I didn't figure out yet was how compile glsl shaders without relying on libshaderc or "worse", assuming there is a "glslc" systemwide binary.
https://github.com/CapsAdmin/goluwa3/blob/main/goluwa/bindings/shaderc.lua
From what I understand, this comes with the vulkan sdk and not the vulkan drivers a normal user would install(?)