|
|
|
|
|
by SaintSeiya
651 days ago
|
|
Honest question:
It is calim that software rasterizer is faster than hardware one. Can someone explain me why? isn't the purpose of the GPU to accelerate rasterization itself?
Unless is a recent algorithm or the "software rasterizer" is actually running on the GPU and not the CPU I don't see how |
|
So if you have a very small triangle (small as in how many pixels on the screen it covers) that covers 1 pixel you will still pay the price of a 2x2 block (4 pixels instead of 1), so you just wasted 300% of your performance.
Nanite auto-picks the best triangle to minimize this and probably many more perf metrics that I have no idea about.
So even if you do it in software the point is that if you can get rid of that 2x2 block penalty as much as possible you could be faster than GPU doing 2x2 blocks in hardware since pixel shaders can be very expensive.
This issue gets worse the larger the rendering resolution is.
Nanite then picks larger triangles instead of those tiny 1-pixel ones since those are too small to give any visual fidelity anyway.
Nanite is also not used for large triangles since those are more efficient to do in hardware.