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 Marky
Regarding terminology: We already use "material lights" for sun and lava, what are the other lights then, "object lights"?

Hmm, this could be a bit of a mess... The object lights have their own texture for brightness/color, and the material light has a texture for brightness only.

So: the material light would need the same upper/lower-half implementation for material brightness/color, then mix it with the mix function that is used in the AmbientShader.glsl?

Currently the material light color is just the default color for the lower half of the object lights texture.

The other question was actually: Where in the c++ code do materials with "Light=1" add brightness to the material light texture?

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill