public void Begin(EntityWorld world) { for(int i=0;i<_randomFloats.Length;i++) _randomFloats[i] = _rng.NextFloat(0, 1); _totalTime += (ulong)world.Delta; _world = world; _lastRasterizerState = _device.RasterizerState; var _camera = world.GetActiveCamera(); _effect.World = Matrix.Identity; _effect.Projection = _camera.ProjectionMatrix; _effect.View = _camera.GetViewMatrix(1.0f); _batch.Begin(_effect); }