work on texture generator