apply lighting fixes to multi-channel shader

also take length of light vector before normalization
adapt lighting threshold to slice thickness