back

by Narishma·12y ago·view on hn ↗
PS3 games don't offload fragment shading to the SPUs, that would be too slow and leave the pixel shading hardware on the GPU idle. Remember that the PS3 has separate vertex and pixel shaders. What they usually offload is post-processing, mostly for anti-aliasing.
1 comments
I was talking about a technique where deferred rendering, GPU is used in modern PS3 games to render surface normals, material index, Z-buffer, texture color, etc. in a buffer. Typically 128 bits per pixel.

This buffer is then DMA transferred to SPUs, where final lighting and fragment shading is performed.

Final step is to transfer 32-bit RGB data back to GPU's frame buffer for displaying.

Here's a link about one implementation: http://www.slideshare.net/DICEStudio/spubased-deferred-shadi...