For mods which interact with light levels, a replacement for getColorLight() or a way to fix it would be nice.
Checking the composited lightmap for the colour/intensity at a specific location was discussed.
Another thing to note is that it'd likely only work on the client, so possible have a name similar to client_getLightingAtPos or something similar.
If that's not possible, would otherwise be nice if all light blobs could be stored in a cache/list, so if you try to check the lighting at a position, it works it out using funky math to approximate what the lighting would be based on the initial lighting and distances to light blobs.
For mods which interact with light levels, a replacement for getColorLight() or a way to fix it would be nice. Checking the composited lightmap for the colour/intensity at a specific location was discussed.
Another thing to note is that it'd likely only work on the client, so possible have a name similar to client_getLightingAtPos or something similar.
If that's not possible, would otherwise be nice if all light blobs could be stored in a cache/list, so if you try to check the lighting at a position, it works it out using funky math to approximate what the lighting would be based on the initial lighting and distances to light blobs.