Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-64459

ShaderEffectSource does not stack with layer.effect

    XMLWordPrintable

Details

    Description

      If an effect is assigned to an item as a layer.effect and this item is used as a shader source the layer.effect is not rendered in Qt 5.10. |
      See the attached example and screenshot for details.

      The screenshot is done with Qt 5.9. In the screenshot, the Glow and FastBlur effect is rendered even if rendered indirectly as a ShaderSource.
      The colorize effect was not rendered indirectly even in Qt 5.9.

      Why this looks like a weird corner case, the Qt Quick Designer uses rendering to texture to render all items.
      This means that with Qt 5.10 layer.effects are not visible in the WYSIWYG editor.

       

      Attachments

        1. shaders.png
          shaders.png
          185 kB
        2. MainForm.qml
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            thohartm Thomas Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes