|
|
So im trying to use the new MPE 4.0. I have my effects rendering but the coordinates are linked to the screen even with the farseer engine matrix. Any help on help to do this right?
Matrix projection = camera.SimProjection;
Matrix view = camera.SimView;
var matrix = Matrix.Identity;
var cameraPosition = new Vector3(camera.Position.X, camera.Position.Y, 0);
_spriteBatchRenderer.Transformation = Matrix.Identity;
_spriteBatchRenderer.RenderEffect(_particleEffect, ref matrix, ref view, ref projection, ref cameraPosition);
|
|