Implementing volumetric lighting using the half-angle slicing