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

Replace Oren-Nayar diffuse function with Lambert

    XMLWordPrintable

Details

    • 0ea14148b119e9b407fd619615b7d110d188dace

    Description

      The Oren-Nayar function used now has branching causing it to be slower to process even when roughness is 0. The current shader generator always inserts the value of 0 for roughness so the if-statement is not needed. A simple Lambert function can replace the current implementation.

      Attachments

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

        Activity

          People

            tuliniemi Jere Tuliniemi
            tuliniemi Jere Tuliniemi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes