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

Scale environment light properly in GLES3 #29016

Merged
merged 1 commit into from
May 20, 2019

Conversation

clayjohn
Copy link
Member

@clayjohn clayjohn commented May 19, 2019

Fixes: #29008
Might fix: #27322
Does not affect: #21680 (nor should it)

Nullifies the fix here #28891. The fix was a little too hasty, I should have taken the time to fully resolve the underlying issue. For the record, the issue was failing to take GI into account when scaling the environmental reflection term in the brdf. When I made #27898 I only moved up the code for reflection probes, I forgot to move up the code for GI probes. This PR corrects that and all should be well now.

@clayjohn clayjohn requested a review from reduz as a code owner May 19, 2019 21:30
@clayjohn clayjohn force-pushed the env_light_fix branch 2 times, most recently from 43488e2 to 7ebcb62 Compare May 20, 2019 00:47
@clayjohn clayjohn changed the title Move environment light calculation back to end in GLES3 Scale environment light properly in GLES3 May 20, 2019
@YeldhamDev YeldhamDev added this to the 3.2 milestone May 20, 2019
@mhilbrunner mhilbrunner merged commit fdd66dc into godotengine:master May 20, 2019
@clayjohn clayjohn deleted the env_light_fix branch July 8, 2019 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Strange light colours in TPS Demo with GLES 3 Incorrect specular lighting
3 participants