Jump to content

Recommended Posts

Posted

As a noob programmer, I am just a tad confused on the concept of buffers... I know that it has to do with rendering things and memory management, but are they optional or are they just one of those perks to programming? I just don't understand how to use them... what I guess i'm asking for is an example on how they are used...

Posted

I was on this page when the question popped into my head. I should have read more though because I clicked on the PDF and I see now that it can be used for motion blurr and such.

Posted

Buffers are a chunk of memory on the video card. You can perform commands such as drawing that will modify buffer. You can render a buffer to the screen or save it as a texture. It is a pretty abstract concept.

  • Upvote 1
Posted

When you render to a texture, you are actually rendering to a color and depth texture, and sometimes more. A buffer is just a collection of textures that can be rendered to.

  • Upvote 1

My job is to make tools you love, with the features you want, and performance you can't live without.

Posted

mmk, so at least there's a pretty decent reason for my confusion...

 

ohhhh so it's more about just plain textures than post-processing effects like motion and Gaussian blurr.

 

this probably belongs on general discussion then because I thought it was more about memory consumption.

Posted

Well, you take those textures you rendered the scene to, then you draw them on the screen with a shader, and that is how post-processing effects are done. But you don't have to worry about that if you just use the Framework class, since it does all that for you.

My job is to make tools you love, with the features you want, and performance you can't live without.

Posted

oh wow, thanks for telling me that, I was about to do a lot of unnecessary work. I see the SetSSAO and bloom and contrast and such, but is there no SetMotionBlurr? Or do you have to do that without the frameworks class.

Posted

But I thought you could do it with post-processing by drawing the postbuffer color texture onscreen with an

alpha blend :( or are you saying that it is not supported in Frameworks...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...