Skip navigation

SpriteBatch screws up 3d drawing

SpriteBatch messes up 3d drawing

SpriteBatch spoils 3d drawing

Man. I just spent.. about 3 hours on this stupidness.

Like, it was totally erasing ALL my 3d stuff and ALL I had to do was:

    spriteBatch.Begin( SpriteBlendMode.AlphaBlend, SpriteSortMode.Immediate, SaveStateMode.SaveState );

    // draw sprite-y shit

The SaveStateMode.SaveState is EXTREMELY important because its what prevents spritebatch from DESTROYING / sabotaging the gpu renderstate.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: