Details
-
Task
-
Resolution: Done
-
Not Evaluated
-
Qt 3D Studio 2.0
-
None
-
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.