Fix: EEVEE-Next: Broken punctual shadows lod bias

Broken by be1f527cb4
This commit is contained in:
Clément Foucault
2024-05-08 19:35:10 +02:00
parent c36f09e7f7
commit 8b626c2d79

View File

@@ -318,6 +318,7 @@ void ShadowPunctual::end_sync(Light &light)
light.clip_far = as_int.i;
light.local.clip_side = side;
light.local.shadow_projection_shift = shift;
light.lod_bias = lod_bias_;
for (ShadowTileMap *tilemap : tilemaps_) {
/* Add shadow tile-maps grouped by lights to the GPU buffer. */