Forum > Resources and Tools

[C++] LightAdder

<< < (3/7) > >>

PainSavior:
Could you share a download for the M2 file, just to use as a guideline.

Feel:
"Could you share a download for the M2 file, just to use as a guideline."


Up, I'm also interested ^^

tehrob:
would be great if someone could write down here, how to use this tool :)

natrist:
I have noticed that the lighting disappears if you get the camera away from the light source.
Is this caused by a bug in your application or the game client itself?

schlumpf:

--- Quote from: "natrist" ---I have noticed that the lighting disappears if you get the camera away from the light source.
Is this caused by a bug in your application or the game client itself?
--- End quote ---
It is a bug in the application: In the m2 header, there is a bounding box used to determine if the client needs to draw it. This is also used to determine if light sources from that model are used. When adding the light, the box needs to be extended to contain the maximum range of the light. If you don't, you can only see the light as long as at least a pixel of the bounding box is visible.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version