#usda 1.0

def "ModelShading"
{
    def "Materials"
    {
        def Material "ParentMaterial"
        {
            float inputs:floatVal

            def Shader "Shader_1"
            {
                float inputs:floatInput = 1
                float inputs:floatInput.connect = </ModelShading/Materials/ParentMaterial/Shader_2.outputs:floatOutput>
            }

            def Shader "Shader_2"
            {
                float outputs:floatOutput
            }
        }

        def Material "ChildMaterial_1"
        {
            rel derivesFrom = </ModelShading/Materials/ParentMaterial>
        }

        def Material "ChildMaterial_2"
        {
            rel derivesFrom = </ModelShading/Materials/ParentMaterial>
        }
    }
}

