hemispherical ambient lighting demo converted from HLSL development cookbook