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

suggest adding QTransparencyMaterial or QPhongAlphaMaterial for basic transparency support

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 5.7.0
    • Qt3D
    • None

    Description

      the transparency examples contain qml versions, but the shader code there only seems to be ES2 level, and does not work in GL3 without some basic editing that a noob would have a lot of trouble with (i.e., me yesterday). This seems like something that would be nice to have avail off-the-shelf. example impl attached, from my code (only GL3 shaders). I'm a big fan of transparency..

      Attachments

        1. T3TransparentMaterial.cpp
          8 kB
        2. T3TransparentMaterial.h
          3 kB
        3. phongalpha.frag
          1 kB
        4. phongalpha.vert
          0.4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            seanharmer Sean Harmer
            rcoreilly Randall O'Reilly
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes