Fixed some minor issues, add sampler2dShadow