matrix stuff for RenderShaderPasses
some of RB_STD_T_RenderShaderPasses