PDA

View Full Version : texture buffer and color buffer


nobond
13-Jul-2007, 11:44
This probably is a stupid question. Just confused since the texture will provide more details, what is the point having the color buffer at all? The color buffer only make sense when you have no textures at all ?

Rys
13-Jul-2007, 13:29
I might be wrong here, but I've always just called the colour buffer the front buffer. Since that's where you display from when you present to the screen, that's why you need it.

Nick
16-Jul-2007, 07:50
This probably is a stupid question. Just confused since the texture will provide more details, what is the point having the color buffer at all? The color buffer only make sense when you have no textures at all ?
The color buffer is what you render your scene to. It's the result of everything rendered so far in a frame. Technically it's the back buffer, and when you're done rendering it's copied or flipped to become the front buffer. The front buffer is shown on screen. Textures are just images you use during rendering. The color buffer is typically cleared to black before you start rendering the scene into it.