Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

fix light calc with backlight #178

Merged
merged 1 commit into from
Apr 12, 2021
Merged

Conversation

ffreyer
Copy link
Collaborator

@ffreyer ffreyer commented Apr 10, 2021

The way backlight was implemented results in ambient being applied twice. This pr fixes that.

With backlight = 0f0:

Screenshot from 2021-04-10 20-25-48

With backlight = 1f0 on master:

Screenshot from 2021-04-10 20-25-11

With backlight = 1f0 after these changes:

Screenshot from 2021-04-10 20-25-40

@SimonDanisch SimonDanisch merged commit d36b9ac into JuliaPlots:master Apr 12, 2021
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants