Jump to content

  • Log In with Google      Sign In   
  • Create Account

We need your feedback on a survey! Each completed response supports our community and gives you a chance to win a $25 Amazon gift card!


#Actualvinnyhalts

Posted 08 March 2013 - 01:59 PM

Hmm... well, alpha-blending should be disabled given that you have AlphaBlendEnable = FALSE in your shader.
But just for kicks, can you add this next to the line where you set the DepthStencilState:

XNAGame.Instance.GraphicsDevice.BlendState = BlendState.Opaque;

Nothing changed.

gYQxbbB.png

 

 

 

Edit, it has to be something in the Render Target. As I disabled it, and just drew the image as I would any other model, and it worked. But this does not solve my problem, as it still jitters when I move in game. I still need to use a Render Target.

 

 

Any ideas why?


#3vinnyhalts

Posted 08 March 2013 - 06:53 AM

Hmm... well, alpha-blending should be disabled given that you have AlphaBlendEnable = FALSE in your shader.
But just for kicks, can you add this next to the line where you set the DepthStencilState:

XNAGame.Instance.GraphicsDevice.BlendState = BlendState.Opaque;

Nothing changed.

Z6c1ato.jpggYQxbbB.png

 

 

 

Edit, it has to be something in the Render Target. As I disabled it, and just drew the image as I would any other model, and it worked. But this does not solve my problem, as it still jitters when I move in game. I still need to use a Render Target.

 

DqonjZH.jpg

 

 

 

 

Any ideas why?


#2vinnyhalts

Posted 08 March 2013 - 06:52 AM

Hmm... well, alpha-blending should be disabled given that you have AlphaBlendEnable = FALSE in your shader.
But just for kicks, can you add this next to the line where you set the DepthStencilState:

XNAGame.Instance.GraphicsDevice.BlendState = BlendState.Opaque;

Nothing changed.

Z6c1ato.jpggYQxbbB.png

 

 

 

Edit, it has to be something in the Render Target. As I disabled it, and just drew the image as I would any other model, and it worked. But this does not solve my problem, as it still jitters when I move in game.

 

DqonjZH.jpg

 

 

 

 

Any ideas why?


#1vinnyhalts

Posted 08 March 2013 - 04:06 AM

Hmm... well, alpha-blending should be disabled given that you have AlphaBlendEnable = FALSE in your shader.
But just for kicks, can you add this next to the line where you set the DepthStencilState:

XNAGame.Instance.GraphicsDevice.BlendState = BlendState.Opaque;

Nothing changed.

Z6c1ato.jpggYQxbbB.png


PARTNERS