Revert "remove shade range check from shader"

This reverts commit 7f5100df39efa4bb51e9e20ffea04c65c9fd6a87.

I can't find any problems caused by the change but removing the change from the
"Standart" routine does cause problems so I can't really assume that shades
will be within the alloewed range apparently.