Details

    • Technical task
    • Resolution: Done
    • P2: Important
    • 6.0
    • Quick: 3D
    • None
    • Qt Quick 3D - Week 19/20, Qt Quick 3D - Week 21/22, Qt Quick 3D - Week 23/24, Qt Quick 3D - Week 25/26, Qt Quick 3D - July, Qt Quick 3D - 33 - 34, Qt Quick 3D - 35 - 36, Qt Quick 3D - 37 - 38
    • a9f13409195d0ae1dfb72e88c333991fde27b756

    Description

      We need documentation about what the shadergen tool is and how to use it, with examples etc.

       
      Important topics should included how to handle properties that changes during runtime, naturally you can't expect that to work as that's a variant that was unknown at build time. If a runtime change is needed it can be solved by creating a new component and modify the property in the same way it would at runtime, e.g.:

       

      // MaterialComponentA.qml
      PrincipledMaterial {
          baseColor: "blue"
      }
      

      If we want to change the color input for CompA at runtime to use a map instead, we'll need to define
      a version of that material somewhere in our project.

      // MaterialComponentAmap.qml
      MaterialComponentA {
          baseColorMap: url
      }
      

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            stromme Christian
            stromme Christian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2 days
                2d
                Remaining:
                Remaining Estimate - 2 days
                2d
                Logged:
                Time Spent - Not Specified
                Not Specified

                Gerrit Reviews

                  There are no open Gerrit changes