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

Replace Oren-Nayar diffuse function with Lambert

XMLWordPrintable

    • 0ea14148b119e9b407fd619615b7d110d188dace

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes