fixed cube shadowmap face 0 black  using bloom

also fixed minXYZ and maxXYZ return null…