Fix: EEVEE-Next: Sphere Probe: Wrong world probe index

This commit is contained in:
Clément Foucault
2024-02-14 15:06:35 +01:00
parent d27a1c47fa
commit ee6c7d8eea

View File

@@ -18,7 +18,7 @@ void main()
}
SphericalHarmonicL1 sh;
if (idx == 0) {
if (idx == reflection_probe_count - 1) {
sh = lightprobe_irradiance_world();
}
else {