|
From: Frank C <li...@si...> - 2004-06-07 18:28:49
|
On 5-Jun-04, at 4:37 PM, Frank C wrote: > On 5-Jun-04, at 3:43 PM, Dair Grant wrote: > >> Can you log some bugs demonstrating how? > > I'll try to do this tomorrow. These have been logged... >>> The only thing I'm concerned about is how and when the light state is >>> updated - looking through the code it appears to happen once per >>> frame, but in practice it updates for every mesh - so I'm missing >>> something here... >> >> Where do you see it being updated on each mesh? The lights should be >> converted once per frame, by IRRenderer_Lights_StartPass. OK - I think I found why it's working; IRRenderer_Update_Shader_Illumination is turning off lighting for null shaders, so my changes to IRLights.c were totally unnecessary. So, to get QD3D colour blending behaviour all ya need to do is make the changes posted previously: <http://sourceforge.net/mailarchive/message.php?msg_id=8621608> but ignore the changes to IRLight.c. Note To Dair (or any other list moderators): I accidently sent a draft of this message from a different account, and got an "awaiting moderator approval" message - please disregard that message - sorry! Thanks, Frank. |