hlsl shader optimization

Thanks for the fast reply! I’ll test the performance when I can :stuck_out_tongue:.
Yeah, three for the text, but two more for UI (no effects, no transformation) and world (camera transformation) rendering.

Edit: I can draw the two-pass rendertarget together with the UI.