Separated the update and projection stages of Rend_InitDecorationsForFrame Next step is do the former only when needed and implement additional logic to reduce surface traversal so that only surfaces with decorations are considered every frame (rather than traversing every linedef and every plane, every frame).
Separated the update and projection stages of Rend_InitDecorationsForFrame Next step is do the former only when needed and implement additional logic to reduce surface traversal so that only surfaces with decorations are considered every frame (rather than traversing every linedef and every plane, every frame).