-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spot light usd lux lights #5416
Spot light usd lux lights #5416
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick turnaround on this Eric - I've made a couple of comments inline, but nothing major.
34c094a
to
dd522a0
Compare
We should be good on CI now, it passed a minute ago but I noticed a mistake |
Two things are needed to make `OptionalValuePlug`, used by USDLuxLights, compatible with `ParameterInspector` and `LightTool` : 1. Recognize when the `source` is coming from an `OptionalValuePlug` and only return it as the source when the plug is enabled. 2. Recognize when the parameter does not exist in the shader data and don't return an `editFunction()` if so. Previously we were not checking if a parameter existed for a shader, so we would return an `editFunction` that when called, would raise an exception when it would be called via `acquireEdit()`. ( `::parameterValue` in `EditScopeAlgo` raises the exception. )
dd522a0
to
647a2a9
Compare
Thanks Eric, LGTM. I've squashed and am about to merge. |
This adds support for USDLux lights to the light tool.
Checklist