Textures cannot be treated as a regular variable, then they should be treated differently from other uniform variables. Add a new function texture0At replacing texture2D. Updates #1239
Updates #1230