Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

Information about UE4 GBuffer

I'm pretty desperatly searching for information about the GBuffer, but just can't find any.

Things that interesst me:

  • How big is the GBuffer? How many bits does it uses per pixel?

  • How does the layout of the GBuffer look like?

  • Is it possible to make the GBuffer "slimmer" ?

  • What is r.GBuffer and r.GBufferFormat for?

I would very appreciate any kinds of info!

P.S.: Sorry if this isn't the right place to question.

Product Version: Not Selected
more ▼

asked Jun 09 '15 at 10:48 AM in Rendering

avatar image

189 15 26 33

avatar image MrRabbit Jul 10 '15 at 11:02 PM

I found in the ConsoleManager.cpp some clues:

  • r.GBuffer: 0=Do not use GBuffer (fast minimal rendering path), 1=Use GBuffer [default]. (However it caused artifacts which rendered the game unplayable.)

  • r.SceneColorFormat: (Interessting options which affects some of the GBuffer I think) Defines the memory layout (RGBA) used for the scene color. Affects performance, mostly through bandwidth, quality especially with translucency.

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Hello MrRabbit,

Here is an in depth look at g-buffers and how they work. First paragraph discusses how to choose the size of the G-Buffer.




more ▼

answered Sep 17 '15 at 08:46 PM

(comments are locked)
10|2000 characters needed characters left

You would like to check out FSceneRenderTargets class and EncodeGBuffer function in DeferredShadingCommon.usf. You would get a better understanding on GBuffer layout. As MrRabbit said, you could slim GBuffer size according to your specific requirement. You must find a balance among performance, vram size and quality.

more ▼

answered Sep 17 '15 at 06:26 PM

avatar image

11 1 2 4

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question