How can I call a Static Switch Parameter from a material in a blueprint so that I can enable and disable layer materials from a blueprint rather than a material instance?
For example, I want to turn off and on layers of snow, dirt, dust, etc. from a blueprint.
I have tried calling the Switch Parameter from a Set Scalar Parameter Value node with a boolean variable converted to scalar. But it does not do anything when toggling the parameter in the blueprint.
Additionally, I’ve tried using a multiply node instead of the Switch Param and was able to call the variable plugged into the bottom of the multiply node in the blueprint through a Set Scalar Parameter Value node triggered from a boolean variable converted to a scalar. That setup enables and disables the layer from the blueprint but does not save shader complexity like a Switch Param does.
Any way to call that Switch Param successfully in a blueprint or perhaps set this up differently?