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

Projection matrix for the custom shader

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P2: Important
    • Qt 3D Studio 2.7
    • None
    • OpenGL Runtime
    • None
    • 90dd0bdcf1c9e3a1eddee8abcf4307c06e82e37b
    • 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

            anmaatta Antti Määttä
            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