Change global material parameter
I can change dynamic material instance parameter in blueprint. However, let's say i have a thousand instances of a grass patch BP, and that wind speed or direction is a material instance parameter. How would I change the global material's parameter, so that it affects every grass patch ? I imagine having a dynamic material instance for each one when the parameter is the same for every one is quite wasteful and possibly slow.
Another use case would be for changing a cubemap from day/night on all buildings in the scene, i wouldnt want to give each building a dynamic material instance, when it's a global change. Or when it's raining, you'd want all outdoor materials to have an additional wet layer.
Look into Material Parameter Collection. You can use a general parameter for a collection in your base material and change it in run time via Blueprints.
answered Apr 05 '14 at 12:56 AM
Try using Material Parameter Collections. You can create them in content browser and define parameters. Then you can reference those parameters in blueprints and materials.
answered Apr 05 '14 at 12:57 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here