What is light channel used for? #7998
Closed
GerradLong
started this conversation in
General
Replies: 1 comment
-
Light channels can be used to have lights light only certain objects. For instance if you want a key light for a character that should apply only to that character and nothing else in the scene. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to understand what is the light channel:
LightsUib
uint32_t channels; // 0x000c00ll (ll: light channels, c: caster)
A part of this
uint
iscastShadow
info, sure.But I don't see any examples of
RenderableManager::setLightChannel
,LightManager::setLightChannel
orLightManager::Builder::lightChannel
functions being used.
and the shader code seems to check only with object flag channels to determine if the object should be shaded
Beta Was this translation helpful? Give feedback.
All reactions