Compacting the if/else some

Although there's not much point since I'm reading through Physically
Based Rendering and am going to re-write the whole project to be
a proper physically based renderer