So how do people do lighting nowadays?
I've got my basic vulkan code rendering some 3d objects, but only flat shading with textures, so now I want to add some lights.
I recently learned about clustered shading and I think I'm gonna try that. It seems not too hard to implement (saw some code examples in d3d11 here https://www.humus.name/index.php?page=3D&ID=90 ). Essentially it just "clusters" lights into a grid and each fragment then looks up a subset of lights that affect it. Apparently you can have hundreds or a few thousands of dynamic lights that way.