Not logged inOpenClonk Forum
Up Topic New materials!

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to PeterW
Yes - the presence of ambient light directly overrides the effect of light sources. This makes a certain amount of sense: The sun is basically assumed to be so bright that it drowns out everything else. Like in real life: Put a candle outside, and it has basically no effect. Do the same in a cave, and lights change radically. The weighting basically "compresses" the brightness range on top of that, in order to emulate our eyes adjusting to different lighting conditions.

I was a bit skeptical at first when I read the code, too, but I think it works rather well.

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill