grundge69
09-10-2008, 03:21 PM
I have been going through shapes files to add night effects, i.e. lit up windows at night. I go through the shape file and added a vtx_state and a prim_state:
vtx_states ( 2
vtx_state ( 00000000 0 -5 0 00000002 )
vtx_state ( 00000000 0 -8 0 00000002 )
)
prim_states ( 2
prim_state Box_SolidNorm ( 00000000 0
tex_idxs ( 1 0 ) 0 0 0 0 1
)
prim_state Box_SolidBright ( 00000000 1
tex_idxs ( 1 0 ) 0 1 1 0 1
)
)
That being done, do I have to change something in the vertices:vertex in order to point at the prim_state or vtx+state? And if so, what is it?
Codeman
vtx_states ( 2
vtx_state ( 00000000 0 -5 0 00000002 )
vtx_state ( 00000000 0 -8 0 00000002 )
)
prim_states ( 2
prim_state Box_SolidNorm ( 00000000 0
tex_idxs ( 1 0 ) 0 0 0 0 1
)
prim_state Box_SolidBright ( 00000000 1
tex_idxs ( 1 0 ) 0 1 1 0 1
)
)
That being done, do I have to change something in the vertices:vertex in order to point at the prim_state or vtx+state? And if so, what is it?
Codeman