Commit 0f45657
authored
Integrate OpenPBR update from MaterialX project (#265)
* Integrate OpenPBR updates from MaterialX project
This changelist integrates two post-1.1 updates to OpenPBR Surface from the MaterialX project:
- Optimizations to OpenPBR graph (AcademySoftwareFoundation/MaterialX#2459)
- Add code generation hints support (AcademySoftwareFoundation/MaterialX#1954)
The more substantial update is the graph optimization, and I've copied the performance measurements from the original change for reference:
Performance tests were conducted on an NVIDIA RTX A6000 at 4K resolution, and the following timing improvements were seen:
OpenPBR Carpaint: 16ms -> 7ms
OpenPBR Glass: 27ms -> 11ms
OpenPBR Pearl: 16ms -> 12ms
OpenPBR Aluminum: 14ms -> 5ms
* Omit hardware shading optimizations1 parent 2696fe5 commit 0f45657
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
0 commit comments