-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AttributeTweaks : Add fallback for
linkedLights
attribute value
This is necessary to make `{source}` substitutions useable in all situations. As noted in the comment, we should really do this for _all_ attributes using a central registry of default values. We're just doing this one on its own because it is such high value - `linkedLights` is the main thing we had in mind when adding the `{source}` token in the first place. Note that once we have fallbacks for all standard and renderer-specific attributes, the `ignoreMissing` plug will only be relevant for custom attributes not present in the registry. I view this as a good thing. If I make a `Multiply` tweak to double `ai:AA_samples`, it's not because I want to double it only if it exists. Rather, it's because I want to double the value that is received by the renderer.
- Loading branch information
1 parent
9431519
commit 5689ceb
Showing
3 changed files
with
43 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters