Friday, May 6, 2011

DirectQ Update - 6th May 2011

Been digging into the timer functions again; I've reverted some of them back to the way ID Quake did things because I started running into some serious precision issues at stupidly high framerates. Overall it became a case of "if you find yourself adding more and more complexity to something, then you're probably doing it wrong and need to row back and rethink", so it's good to have this sorted out before releasing.

Brush surface draw call batching behaviour is now user-configurable (via r_surfacebatchcutoff and a menu option); default behaviour is to batch as agressively as possible (unless there is only one surface to draw, in which case batching incurs unnecessary overhead). On some hardware it may be slightly faster to tweak this parameter.

Dynamic light updates have been reworked for some small extra performance. There are still a few more frames to be pulled out of this, but overall it's already very fast anyway so it's not too high a priority.

...and we're getting closer...

0 comments: