Game Development Community

How do i remove re-lighting DiF objects

by Thanhda Tie · in Torque Game Engine · 04/01/2007 (10:08 pm) · 5 replies

Edit:

Figured it out

About the author

Digital Shock President & CEO, Thanhda's main role is to direct the business development team, and all other technical development. Thanhda began as a business relations manager & programmer, and has since worked on many projects.


#1
04/01/2007 (10:14 pm)
You do realize that interiors use static light maps and therefore lighting needs to be updated every time something is moved?

My interiors don't turn completely black when moved with the mouse; they do naturally appear a little darker until I perform a relight though.
#2
04/01/2007 (10:37 pm)
If you want to get rid of the relight when moving by coords, check out the post/preApply () functions.
#3
04/01/2007 (11:16 pm)
Yeah, no worries. i found out how to fix my issue. discard this post.
#4
04/02/2007 (8:52 am)
Might wanna give the solution for people who have this problem in the future.
#5
04/02/2007 (9:35 am)
Oh, well it was more of a MK issue, which i figured out. the code is posted under Alex's MK post.