Create logic to generatin texture