Initialise texture states at creation instead of when tex name is generated.
Attach a file by drag & drop or click to upload