Revert "Remove support for 'texture expression' when loading textures"

This reverts commit 573041d6ee17152f40ecd92e8ee728833774b4f4.