editor plugin for dynamic shadow material flag