Skip to content

q3map2: don't store lightmap if the last bounce computation ran empty.

Matthias Krüger requested to merge matthiaskrgr/no_store_on_no_bnc into master

Currently, we would always store the last bounce results even if we aborted it ("No diffuse light to calculate, ending radiosity.").

This patch changes is supposed to fix this and prevent storing none-changing lightmaps.

I'm not sure if I caught everything, so I'd like someone to actually look through the code and check if my thinking was correct here.

Merge request reports