Search Results

Found 1 results for "258edd5a5db7adbe640ea404f9947f7c" across all boards searching md5.

Anonymous /g/105853772#105883653
7/12/2025, 8:02:32 PM
putting together a shrimple render manager ontop of raylib. i have entities that submit draw commands to the manager. at the end of the frame all these draw commands are sorted and drawn. it is not a general purpose renderer, it is specifically for this game so i dont think i need to store what specific texture or shader is gonna be used or how shader uniforms should be mapped the manager will handle that as it controls the shaders

if anyones put together a similar renderer and know of any issues that could come up id be interested in hearing. or how this could be structured differently

one problem i can think of is z fighting as the entity update order wont be consistent. maybe you ask the manager for a specific integer z index and it will give you a unique floating point z index between z and z+1 which the entity stores and uses to submit commands every frame

i dont think performance will be an issue but if there are easy wins ill take them