Atm: red - depth, green - offset id, blue - normal id
The offset can be used to give a vertical face the normal of the adjacent texel or to prevent it from using the modified normal of the own texel if the adjacent texel doesn't use one. There are no real sloped faces, they didn't pay of performance-wise. The hardest part is actually the AA. It's also by far the biggest part of the shader.

Last edited by Hummel; 03/26/13 22:15.