Uploaded image for project: 'Qt 3D Studio'
  1. Qt 3D Studio
  2. QT3DS-3821

Add depth function customisation to materials

    XMLWordPrintable

    Details

    • Commits:
      abc9048c6806083673b44a6bcf1176bfaadb4335
    • Sprint:
      Qt Quick 3D - Week 9/10

      Description

      Currently depth write flag is set to FALSE when user customises BlendMode in the material.

      Weird enough, when user does not, blend more is set to ALPHA BLEND by default and depth write flag is set to TRUE. Meanin that if fragment shader outputs zero alpha, the object is invisible but still does write to depth buffer. It would make more sense (for performance also) do disable blending by default.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              tuliniemi Jere Tuliniemi
              Reporter:
              igor.chernakov Igor Chernakov
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes