mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fix lightmap dynamic objects with physical lights
This commit is contained in:
parent
f92f1ce9c0
commit
5dc25db6da
3 changed files with 3 additions and 3 deletions
|
|
@ -2104,7 +2104,7 @@ void main() {
|
|||
c3 * lightmap_captures[6].rgb * (3.0 * wnormal.z * wnormal.z - 1.0) +
|
||||
c2 * lightmap_captures[7].rgb * wnormal.x * wnormal.z +
|
||||
c4 * lightmap_captures[8].rgb * (wnormal.x * wnormal.x - wnormal.y * wnormal.y)) *
|
||||
scene_data.emissive_exposure_normalization;
|
||||
scene_data.IBL_exposure_normalization;
|
||||
}
|
||||
#else
|
||||
#ifdef USE_LIGHTMAP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue