Hi,
I’m playing with Post Processing in MonoGame, my first tests with the OpenGL port are sweet but when I switch to Windows DX I get an empty screen with a light blue color…
This is my code
private void renderBuffers()
{
if (_e == null)
_e = Application.Content.Load<Effect>("FX/PostProcess/Blur");
_spriteBatch.Begin(SpriteSortMode.Immediate, BlendState.AlphaBlend, SamplerState.LinearClamp, DepthStencilState.Default, RasterizerState.CullNone, _e);
_spriteBatch.Draw(_sceneRT, Vector2.Zero, Color.White);
_e.Parameters["targetTexture"].SetValue(_sceneRT);
_e.Parameters["blurDistance"].SetValue(Input.Mouse.Drag() ? Input.Mouse.Delta.X * 0.001f : 0);
_e.CurrentTechnique.Passes[0].Apply();
_spriteBatch.End();
}
As I said, it works with OpenGL port and I’ve aven’t errors in the Visual Studio’s console.
How can I debug it and eventually report a problem ?
