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

Clean up volume lighting #1434

Merged
merged 1 commit into from Nov 11, 2021
Merged

Clean up volume lighting #1434

merged 1 commit into from Nov 11, 2021

Conversation

ffreyer
Copy link
Collaborator

@ffreyer ffreyer commented Nov 7, 2021

This cleans up the lighting calculation so that it includes diffuse and specular lighting once for both forward and backwards facing surfaces without counting ambient lighting twice. (Currently :iso counts ambient twice and then divides by 2, which means diffuse and specular are halfed. Contours only consider forward facing surfaces)

Before:
Screenshot from 2021-11-07 13-32-03

After:
Screenshot from 2021-11-07 13-31-17

@SimonDanisch SimonDanisch merged commit 4898ff4 into master Nov 11, 2021
@SimonDanisch SimonDanisch deleted the ff/volume branch November 11, 2021 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants