[Feature Request] Material editor loops

Though additional math and certain flow control would be great to have in materials, whenever you have some kind of switch, engine actually should precomile shaders for each material possibility. However there’s indeed ticket for better flow control, I believe.