texture and global