KF2 SDK: Set light to be rendered at any range?

  • Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

Snypr18

FNG / Fresh Meat
Apr 22, 2015
28
0
0
I am trying to get a point light to render at all ranges, but I cant seem to get it to work much farther than 8000uu. I have noticed that the Eiffel Tower in Burning Paris is illuminated at a very long range, but I cannot replicate it. I attempt to set the render distance for both the light and the surface being illuminated to say 15000uu for example, but there is no increase in the distance before the light is culled. Is there a hard cap on lighting render distance?
 
Last edited:

Seanchaoz

FNG / Fresh Meat
Feb 29, 2016
202
24
0
Denmarkia
www.synchaoz.com
Sounds odd. There is no cap (to my knowledge), I have a map with a pointlight more than 50.000 UU away and it doesn't get culled. Nor do the meshes.

Are they getting culled in-game or in the editor? Because in the latest SDK build, it seems that certain things get occluded in the editor viewport even though they don't do in-game.
 

LiquidArrow

Member
Apr 20, 2015
554
8
18
I am having issues with shadows making objects appear unlit(black) past a certain distance. It feels like shadows are being culled and because of that it is making the meshes/objects seem like they disappear when going unlit.
 

Snypr18

FNG / Fresh Meat
Apr 22, 2015
28
0
0
Thank you both for replying, I have not been able to figure it out but went ahead and moved on.

Arrow I also had the "unlit object" issue using SpotLights, disabling "Cast Whole Scene Dynamic Shadows" on the light sources fixed my issue.