Not logged inOpenClonk Forum
Up Topic Colored lights

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 Clonk-Karl
I only had a brief look, but to me it looks like you stuffed some things into C4FoWAmbient that don't actually have anything to do with it. The C4FoWAmbient class takes care of making things that are overground light, and things that are underground dark. I think you call this the "light from the sun" (which is maybe not very accurate since we also already played with making lava emit this kind of light).

So, at the moment, there are two different things that we call "ambient light". That's a bit unfortunate, and I think we should come up with a clear terminology, and also strictly separate the two functionalities in the engine (i.e. C4FoWAmbient should only handle the sun-kind-of-ambient light, whereas your new "ambient color" should be stored somewhere else, maybe it makes sense to put it in C4FoW directly). What do you think?

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill