what we are doing is turning off and on parameters to add in what we want. All the stuff is already added into the material then we just access the parameter from its material instance and set it to a 1 to turn it on and a 0 to turn it off.
what we are doing is turning off and on parameters to add in what we want. All the stuff is already added into the material then we just access the parameter from its material instance and set it to a 1 to turn it on and a 0 to turn it off.