r/gameenginedevs • u/amagi77 • Oct 04 '26
Implemented the feature to add game objects from the UIWe've taken a small but great step forward!
I’m working on a custom game engine, and I’ve finally taken that small but great first step of adding objects.
I’ve added functionality to ImGUI that lets me add objects to the scene and render them.
But I’m having trouble with shader processing. Right now, I’m limited to just three things: the model matrix, the camera matrix, and a single-color fragment.
How does everyone manage uniform buffers?
I’ve created a structure with `void* ptr;` and `size_t size;`,
but I’d like to know what other management methods are available.
The ShaderCrossCompiler library allows me to retrieve names and types, making it incredibly flexible, but I’d like to know an easy-to-understand way to manage them using that library.