XNA Framework HiDef profile requires TextureFilter to be Point when using texture format HalfVector4

Sep 8, 2011 at 9:53 PM


Very often I have this exception when the IGF framework draw a spritebatch.

I have tried to add this line before the draw :

Application.Graphics.GraphicsDevice.SamplerStates[0] = SamplerState.PointClamp;

but it's work sometimes but not always and a think it's not a good solution to edit the framework to add this line.

Do you have a way to fix this issue ?

Thank you in advance.

Sep 9, 2011 at 8:29 AM

This is not specific to IGF rather on the way SunBurn & standard Xna rendering works when they are playing together.

If you want us to help you out here, we'll need to see some code on how you set it up and the rendering order between your custom SpriteBatch rendering code and SunBurn.