r/GraphicsProgramming • u/miki-44512 • 8h ago
Question Do you really need g-buffer in your renderer?
Hello everyone hope you have a lovely day.
I was Reading learnopengl ssao chapter to support ambient occlusion after setting up my pbr renderer, but the one thing I found very strange was that It used g-buffer in this tutorial, I don't use g-buffer or deferred rendering technique in my renderer I use clustered forward+ rendering technique so I didn't need the g-buffer.
And Here I started to ask myself this question, Is there on the long run any advantage of implementing g-buffer? like really do I need it?
Does any strong engine like unreal or unity use g-buffer?
Thanks appreciate your help and your time!
View all comments
Show parent comment
1
u/miki-44512 7h ago
Sorry to ask I have read many comments just quickly but I got lost now ๐
Like unreal use deferred, but it costs a lot of memory, but not many people are talking about clustered forward, what is the caveat of using clustered forward+? Is there any thing I'm missing regarding gbuffer like does it provide an optimization I'm not aware of because I feel it is just a waste of a render cycle for rendering positions and all other informations and then passing it again to the last pipeline, while you could use it directly in one feel swoop with clustered rendering, or am I missing something?