Hello JGO!
I’m trying to implement deferred lighting for the first time following this tutorial: http://learnopengl.com/#!Advanced-Lighting/Deferred-Shading.
I was wondering if there is an integrated way in LibGDX to use multiple render targets. I saw that the FrameBuffer class only contains one ColorAttachment and you can’t add more via in-built methods.
Should I use a SpriteBatch to render to the gBuffer or should I use meshes?
Should I just use LWJGL classes directly and avoid the LibGDX in-built ones or how should I do it?
Basically my question is how to implement Deferred Lighting in LibGDX.
Thanks in advance for any help!