added shadows, tmin/tmax implemented
Merge branch 'shadows'