Commit e5b1831
authored
Consolidate glTF PBR graph and remove GLSL override (#2850)
This changelist consolidates the dielectric iridescence path in the glTF PBR shading graph, and removes the hand-authored GLSL graph override that is no longer needed. The following specific changes are included:
- Restructure the dielectric iridescence path from `mix(layer(A, C), layer(B, C), w)` to `layer(mix(A, B, w), C)`, eliminating a duplicated layer node that was a workaround for earlier codegen limitations.
- Remove the hand-authored GLSL graph override for `gltf_pbr`, as the `PremultipliedBsdfAddRefactor` pass now reproduces these optimizations automatically from the consolidated global graph.1 parent 51ccf9d commit e5b1831
2 files changed
Lines changed: 10 additions & 348 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
| 170 | + | |
177 | 171 | | |
178 | 172 | | |
179 | 173 | | |
| |||
186 | 180 | | |
187 | 181 | | |
188 | 182 | | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
189 | 188 | | |
190 | | - | |
191 | | - | |
| 189 | + | |
| 190 | + | |
192 | 191 | | |
193 | 192 | | |
194 | 193 | | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | 194 | | |
202 | 195 | | |
203 | 196 | | |
| |||
208 | 201 | | |
209 | 202 | | |
210 | 203 | | |
211 | | - | |
212 | | - | |
| 204 | + | |
213 | 205 | | |
214 | 206 | | |
215 | 207 | | |
| |||
230 | 222 | | |
231 | 223 | | |
232 | 224 | | |
233 | | - | |
| 225 | + | |
234 | 226 | | |
235 | 227 | | |
236 | 228 | | |
| |||
0 commit comments