Repository navigation
Conversation
- Match formatting across similar code blocks - Remove tests for the light color value when it has an input. The value is irrelevant and it increases the burden of matching values to those produced by the algorithm.
|
This has a much simpler solution to the multiplication shader network for the light color input. It's now building a list of things - shader parameters or a plain color - that need to be multiplied together to satisfy the specification. It could perhaps be made a little more resilient to later extension by sorting the vector of multipliers to have all the |
|
I just have the Arnold case improved so far. If we're happy with this, I'll move the 3Delight and Cycles conversions to use a similar approach. |
|
That definitely looks like an improvement to me. If I had any nitpick, multiplierTree doesn't really gain anything from splitting the range in half? It always needs to output |
This is a replacement for #7278. It's made from a GafferHQ branch so the Arnold tests can run.
I'm including the original and fixup for now, but if it's easier to review after squashing the fixup, I can do that.
From the original description :
Checklist