When to use multiple material tags?

I can’t think of any cases where multiple tags on a material would be useful. For those of you who have found a reason to use this feature, what was your use case?

(See The render pipeline in Defold for reference.)

I use additional tags to define which materials should be included in extra draw passes, such as 3D shadow mapping. At render time all such materials are replaced with the material that encodes depth, but materials cast shadows, or don’t, based on the tag.

1 Like

I think it can be useful in some cases, for example, when you have another render target and want some sprites will be also rendered into it