Make shader dymamic on available texture units.
Merge branch 'reduce-number-texbuffers'

* reduce-number-texbuffers:
  Make shader dymamic on available texture units.