working on texture generator