generate shader string from objects added