(09-24-2010, 01:18 AM)Digital Storm Wrote: I have tried all the light optimizations and it still runs slow, it shouldn't its a really small level so far only like 3 rooms. Ive been watching the frames and they seem to spike and drop like one second the game will be running 50 fps just fine then suddenly drop to below 30 then spike back up to 50 or higher without me doing anything other then standing in the one place and it continues to do that the whole time while playing the level.
Remember also to uncheck the CastShadows on objects that shouldn't cast them, like carpets or static small items like books in a shelf that can't be moved, Ambient Occlusion is good enough for such objects.
Usually I deactivate also shadows on level doors, as they are only one side and I don't care about shadows on the handle. Another thing for plane objects like dust or dirt is to deactivate also the collision.