Skip to content
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

Target emissive control #369

Merged
merged 4 commits into from May 25, 2022
Merged

Target emissive control #369

merged 4 commits into from May 25, 2022

Conversation

bboudaoud-nv
Copy link
Collaborator

@bboudaoud-nv bboudaoud-nv commented May 3, 2022

This branch adds support for setting target emissive color (previously hard-coded to 0.7*color) using 2 different mechanisms. Targets can specify it using an emissive parameter or it can be specified at the experiment-level using targetEmissive, both of which take a Color4 as input.

Merging this PR closes #370

@bboudaoud-nv bboudaoud-nv added the enhancement New feature or request label May 3, 2022
@bboudaoud-nv bboudaoud-nv requested a review from jspjutNV May 3, 2022 18:08
@bboudaoud-nv bboudaoud-nv self-assigned this May 3, 2022
@bboudaoud-nv
Copy link
Collaborator Author

This branch also moves to using session-level configuration for global target color/gloss/emissive controls over experiment-level (which seems to have been a bug). Target-specific specification of these values still takes the top priority.

Copy link
Contributor

@jspjutNV jspjutNV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests passed

@jspjutNV jspjutNV merged commit a244690 into master May 25, 2022
@jspjutNV jspjutNV deleted the TargetEmissiveControl branch May 25, 2022 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Target color/gloss/emissive ignores session-level config
2 participants