Added the following GL Light flags:
- `DontLightOthers`: Acts as the inverse of `DontLightSelf`, where it won't light actors that aren't the owner. - `DontLightMap`: The light doesn't affect the map.
This commit is contained in:
parent
d6516f5c3b
commit
31fa78d7c9
4 changed files with 52 additions and 4 deletions
|
|
@ -161,7 +161,7 @@ void HWFlat::SetupLights(HWDrawInfo *di, FLightNode * node, FDynLightData &light
|
|||
{
|
||||
FDynamicLight * light = node->lightsource;
|
||||
|
||||
if (!light->IsActive())
|
||||
if (!light->IsActive() || light->DontLightMap())
|
||||
{
|
||||
node = node->nextLight;
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue