View Full Version : ID buffer, normal buffer,(u,v)buffer
01-04-2004, 10:44 PM
a lot of algorithms use these kinds of buffers, how can I generate these buffers?
as: ID image, normal image and get the (u,v) value for texture coordination of the pixel.
any code examples? or articles on implementation of these?
thanks a lot!
01-04-2004, 10:58 PM
Look for examples of deferred shading. I think that's close to what you're looking for. It'll certainly give you the right kind of insight.
01-04-2004, 11:03 PM
P.S. for coords you could output the coordinate values straight to the framebuffer or by placing numbers encoded in the color components of a high res texture. You could use high precision textures and buffers or multiple components.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.