properly blend interior and exterior ambient in reflection probes, fixes #14695
This commit is contained in:
parent
bfeaf27a3e
commit
4c23f94af9
1 changed files with 1 additions and 1 deletions
|
@ -2003,7 +2003,7 @@ FRAGMENT_SHADER_CODE
|
|||
}
|
||||
#ifndef USE_LIGHTMAP
|
||||
if (ambient_accum.a>0.0) {
|
||||
ambient_light+=ambient_accum.rgb/ambient_accum.a;
|
||||
ambient_light=ambient_accum.rgb/ambient_accum.a;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue