b1s
Member
|
EarlyZ usage.
Cant figure this thing out really.
Basically if I change the numbers of balls in the tutorial scene to 500
the early z starts to have a negative effect on the fps.
|
|
07-29-2011 08:48 AM |
|
Tottel
Member
|
RE: EarlyZ usage.
I would guess it's a trade-off.
If you enable Z-culling, you will have to render less; BUT you need to spend resources calculating WHAT you will not render.
So at some point, it might get harder to do all the calculations.
I'm no expert though, a better explanation would be advised. ^^
|
|
07-29-2011 09:29 AM |
|
Esenthel
Administrator
|
RE: EarlyZ usage.
as in the Early Z tutorial source code:
Code:
EarlyZ is a technique of rejecting pixels which aren't visible
It works by rendering the object in additional pass only to the depth buffer
Advantage of EarlyZ is that it will make rendering faster because occluded pixels won't be processed many times
Disadvantage is that it requires additional pass of rendering, but fortunately it consists only of vertex transformations
|
|
07-31-2011 11:56 AM |
|