Use uniform subroutines to switch between omni and spotlight lighting