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

Projection matrix for the custom shader

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: Qt 3D Studio 2.7
    • Component/s: OpenGL Runtime
    • Labels:
      None
    • Commits:
      90dd0bdcf1c9e3a1eddee8abcf4307c06e82e37b
    • Sprint:
      Qt Quick 3D - Week 7/8

      Description

      A projection matrix can be very handy in many cases. Could you please add it to the embedded uniforms. For now, I'm using a workaround like:

      mat4 projectionMatrix = viewProjectionMatrix * inverse(viewMatrix);
      

      But it requires calculations that can be dropped in case of embedded uniform.

        Attachments

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

          Activity

            People

            Assignee:
            anmaatta Antti Määttä
            Reporter:
            evgeniy_prikazchikov Evgeniy Prikazchikov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes