int AddLightVertex2(vect3d v,vect3d norm,float tu,float tv,float tu2,float tv2,DWORD color)
v: Coordinates in the world space.
norm: Normal of vertex.
tu,tv: U,V texture coordinates. The texture area is [0..1], but you can tile it [-8192..8192].
tu2,tv2: U,V texture
coordinates for second texture if you use multitexture, or texture
effects. The texture area is [0..1], but you can tile it [-8192..8192].
color: Color of vertex in dxColor format.
Result:
If it was not successfull, it is -1.
If it was succesfull, so it is the vertex index in current object. All
vertices are local numbered in the itself object, that means the first
vertex of the specified object is 0 always.