Development of a texture averaged Reynolds equation