Changing param in material

I will give you an example (should you have any questions please comment):