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

Remove MDF choice, disable tonemapping EDF #2699

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

luisbarrancos
Copy link
Member

Addressing #2688 and #2680

Distribution was deprecated, GGX by default for every closure.
Disable tonemapping by default, so EDF values will be bigger than 1.
Remove deprecated (and unused) parameter specular spread (used in
student-T MDF).
@@ -87,21 +87,6 @@ shader as_glass
int gafferNoduleLayoutVisible = 0,
int divider = 1
]],
string in_distribution = "ggx"
Copy link
Member

Choose a reason for hiding this comment

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

To be honest, I hadn't noticed that these parameters were marked as deprecated. That makes them less of a problem than I initially thought.

@@ -328,26 +312,6 @@ shader as_metal
return;
}

string distribution;
Copy link
Member

Choose a reason for hiding this comment

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

That's clearly code that we can remove without breaking anything, regardless of our decision of what to do with the deprecated parameters.

@dictoon
Copy link
Member

dictoon commented Sep 22, 2019

In #2688 I've asked what happens to existing Blender scenes. If removing deprecated params don't break them then we can merge this PR as is. Otherwise we'll need to restore the deprecated params.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Live Roadmap
Awaiting triage
Development

Successfully merging this pull request may close these issues.

None yet

2 participants