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

Keep emissive factor to [0,1] #920

Merged
merged 2 commits into from
Jan 7, 2021

Conversation

pandaGaume
Copy link
Contributor

GetSelfIllumColor(0, false) is returning value in range of [0,PI] so divide the result by PI to get value of [0,1] range. Fix #919

GetSelfIllumColor(0, false) is returning value in range of [0,PI] so divide the result by PI to get value of [0,1] range
@Drigax Drigax merged commit 9d511e9 into BabylonJS:master Jan 7, 2021
@pandaGaume pandaGaume deleted the Max_Emissive_Factor branch April 30, 2021 06:47
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.

Max2Babylon: emissiveFactor VALUE_NOT_IN_RANGE
2 participants