# Relative Strength of Direct and Collection-Based Bindings

**URL:** <https://forum.aousd.org/t/relative-strength-of-direct-and-collection-based-bindings/1840>\
**Category:** USD\
**Created:** [September 7, 2024, 9:54pm UTC](https://forum.aousd.org/t/relative-strength-of-direct-and-collection-based-bindings/1840 "2024-09-07T21:54:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chris.rydalch](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.aousd.org/chris.rydalch/32/139_2.png) [@chris.rydalch](https://forum.aousd.org/u/chris.rydalch)\
**Post date:** [September 7, 2024, 9:54pm UTC](https://forum.aousd.org/t/relative-strength-of-direct-and-collection-based-bindings/1840/1 "2024-09-07T21:54:37Z")

</div>

I’m trying to figure out if I’m misunderstanding something in the docs, or if maybe they need to be updated. From my experience using direct and collection-based bindings, it has seemed to me that direct bindings are stronger.

However, in the [Bound Material Resolution](https://openusd.org/release/api/class_usd_shade_material_binding_a_p_i.html#UsdShadeMaterialBindingAPI_MaterialResolution) description, #4 states:

> At any given prim, the collection-based bindings are considered to be stronger than the direct bindings. This reflects our belief that the combination would appear primarily to define a “fallback” material to be used by any child prims that are not targeted by a more specific assignment

 ![MaterialBindingTest](https://us1.discourse-cdn.com/flex016/uploads/aousd/original/1X/6b1be33f525fe2b370a6ca682eae5e876db71502.png)

The attached scene has direct binding and collection-based bindings targeting `/World/ShaderBall/sphere1`; the collection lives on `/World/ShaderBall`. USD and Hydra both show `/World/Materials/MaterialBlue` as the resolved material, but based on the docs, shouldn’t `MaterialGreen` be stronger, as it’s collection-based? If I author the collection on `sphere`, then I do see `MaterialGreen` “win”; but that seems a bit impractical, as the collection is likely to target many prims, so it probably lives on the model root, or some other common ancestor?

Am I missing something, or is that maybe an out-of-date description?

Thanks!

[ResolveMaterialsTest.usda](https://forum.aousd.org/uploads/short-url/uV8A158aGgDTeA75Ynd6GInENLo.usda) (4.2 KB)

---

<div class="post-metadata">

**Author:** ![chris.rydalch](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.aousd.org/chris.rydalch/32/139_2.png) [@chris.rydalch](https://forum.aousd.org/u/chris.rydalch)\
**Post date:** [October 1, 2024, 1:54pm UTC](https://forum.aousd.org/t/relative-strength-of-direct-and-collection-based-bindings/1840/2 "2024-10-01T13:54:51Z")

</div>

Based on some internal discussions, we’re pretty sure this is a bug with Hydra; but if anyone has any sanity-checks/confirmations on that, we’d appreciate it. Thanks!

---

<div class="post-metadata">

**Author:** ![spiff](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.aousd.org/spiff/32/22_2.png) [@spiff](https://forum.aousd.org/u/spiff)\
**Post date:** [October 2, 2024, 11:58pm UTC](https://forum.aousd.org/t/relative-strength-of-direct-and-collection-based-bindings/1840/3 "2024-10-02T23:58:41Z")

</div>

I think we need to make the referenced documentation more clear. THe behavior is as I would expect, because the “At any given prim” is meant to mean “if both a collection and direct binding are authored **on the same prim** ”. A binding of either flavor on a more ancestral prim will always be weaker than a more “local” one, unless the materialBindingStrength is set to `strongerThanDescendants` . Does that make sense, @chris.rydalch ?
