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

Projection matrix for the custom shader

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • Qt 3D Studio 2.7
    • None
    • OpenGL Runtime
    • None
    • 90dd0bdcf1c9e3a1eddee8abcf4307c06e82e37b
    • Qt Quick 3D - Week 7/8

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes