Inspired by a block from Spelunky:


Sadly in it's current form the geometric AA breaks badly at greater distances in certain situations for outer edges.
Also the bright inner edges at the right site of the block are due to AA which is currently done for color independently from the shading.

EDIT: For the case it wasn't clear, the actual underlying geometry consists of six four-sided pyramids only. The rest is shader magic.

Last edited by Hummel; 04/21/13 19:25.