I'm currently working on a mod that adds lighting effects to objects that normally don't have them (but should) such as the generaltorch01.m2. Things are looking great but something rather disappointing happens. The light settings don't render until you get within a certain distance to the object, and graphics settings have no effect.
I was wondering if there are any ways to adjust this? I know TrinityCore can control the render distance of creatures and game-objects, but what about lights? And if it can't, then is it controlled in the m2 file itself? My instinct would tell me that it's probably hard-coded into the game but I'm just looking for confirmation. Living on a prayer so to speak lol
Edit: Interestingly enough, the light rendering distance is much greater for gameobjects, but not map objects.
Edit 2: In addition, it seems like certain map objects in certain places render from much further away, but as a general rule of thumb, they usually disappear at a very short distance. Why would some be different?
Below is an aerial view of torches at Refuge Pointe. All of the lights on the left are map objects. The light furthest to the right and directly in the middle is a spawned gameobject. These seem to render light from further away, which is particularly odd because actual gameobject render distance is much shorter than map object render distance.
If I fly closer to the ground, two new torches light up. These two are map objects, so why weren't they lit up before?
If I fly just a tad closer, the one on the right disappears, and a new one in the middle lights up.