Commit 357b77f0

Fixes per-room weighted light intensity calculation and adds support for weighted ambient colour calculation

Resolves #43

Hello! This commit finishes the (preliminary) implementation of per-room ambient light calculation, but see for yourself:

The overall light intensity depends on the room size and how much light output a single light source has
Light sources may have different colours now

What is clearly still missing is a new model for, well, lamps. That as well as adding support for ambient light changes caused by windows are the next steps on the agenda. Bye! 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *