Update BaseTexture.js