The bloom effect is work-in progress that's why it looks kinda awful.
In this devlog i finally added mouse picking (this was not working because of the way i had framebuffers setup but it is working greatly now!)
How is it done?
We send an unsigned integer to the shader.
then we tell the fragment shader to out an uint to location 2 (loc 1 is used by bloom) then we read the pixel data and check if the game object with that ID exists.
In questa pagina del sito puoi guardare il video online Vault Engine Devlog | Mouse Picking della durata di ore minuti seconda in buona qualità , che l'utente ha caricato koki1019 19 October 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 191 volte e gli è piaciuto 4 spettatori. Buona visione!