Original Post
Hi, I'd like some advice on some basic HLSL shader optimisations I can make. At the moment, I have a three pass post-filter which drops the game frame-rate to about 20-fps regardless of my previous frame rate. I'd also like to know if it's possible to do one calculation on certain things per frame to save re-calculating per-pixel? Also, is one pass faster than three passes? Any info to help would be great. I noticed in rendermonkey that putting it into ps_2_a added on about 10-fps over ps_2_0. Thanks, Nat.