goruka
02-12-2008, 08:18 AM
Hi! I want to implement deferred rendering in my engine, so the game thread does not get blocked while rendering.
I've read many articles but i'm still not sure what the best (simpler bust and most portable) implementation is. So far, It seems to me that one has to work with 2 command queues, one which is written by a thread, and another one that will call and render all the commands. Commands probably just custom made, as i don't think i can create a render list at the same time i render it. Is this the most common way, or are there best ways to do it?
Cheers!
I've read many articles but i'm still not sure what the best (simpler bust and most portable) implementation is. So far, It seems to me that one has to work with 2 command queues, one which is written by a thread, and another one that will call and render all the commands. Commands probably just custom made, as i don't think i can create a render list at the same time i render it. Is this the most common way, or are there best ways to do it?
Cheers!