<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SpriteBatch and renderstates</title><link>http://blogs.msdn.com/shawnhar/archive/2006/11/13/spritebatch-and-renderstates.aspx</link><description>If you are mixing 3D rendering with 2D objects using SpriteBatch, you may notice that your 3D graphics no longer draw correctly after you have rendered sprites. This is because the SpriteBatch changes several device renderstates to values that may not</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>XNAtutorial.com &amp;raquo; Weekly Update</title><link>http://blogs.msdn.com/shawnhar/archive/2006/11/13/spritebatch-and-renderstates.aspx#1073650</link><pubDate>Tue, 14 Nov 2006 11:00:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1073650</guid><dc:creator>XNAtutorial.com » Weekly Update</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.xnatutorial.com/?p=42"&gt;http://www.xnatutorial.com/?p=42&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Return of the SpriteBatch: sorting part 3</title><link>http://blogs.msdn.com/shawnhar/archive/2006/11/13/spritebatch-and-renderstates.aspx#1289701</link><pubDate>Fri, 15 Dec 2006 03:41:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1289701</guid><dc:creator>Shawn Hargreaves Blog</dc:creator><description>&lt;p&gt;SpriteSortMode.Texture sorts sprites by texture. SpriteSortMode.BackToFront and SpriteSortMode.FrontToBack&lt;/p&gt;
</description></item><item><title>re: SpriteBatch and renderstates</title><link>http://blogs.msdn.com/shawnhar/archive/2006/11/13/spritebatch-and-renderstates.aspx#9778068</link><pubDate>Fri, 19 Jun 2009 03:28:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9778068</guid><dc:creator>Crag</dc:creator><description>&lt;p&gt;I see SpriteBatch uses DestinationBlend = Blend.InverseSourceAlpha but after it's done it seems to leave that renderstate set as Blend.DestinationAlpha. Is this the case?&lt;/p&gt;
</description></item><item><title>re: SpriteBatch and renderstates</title><link>http://blogs.msdn.com/shawnhar/archive/2006/11/13/spritebatch-and-renderstates.aspx#9778084</link><pubDate>Fri, 19 Jun 2009 03:36:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9778084</guid><dc:creator>ShawnHargreaves</dc:creator><description>&lt;p&gt;&amp;gt; I see SpriteBatch uses DestinationBlend = Blend.InverseSourceAlpha but after it's done it seems to leave that renderstate set as Blend.DestinationAlpha. Is this the case?&lt;/p&gt;
&lt;p&gt;No. SpriteBatch never sets the destination blend state to destination alpha.&lt;/p&gt;
</description></item><item><title>re: SpriteBatch and renderstates</title><link>http://blogs.msdn.com/shawnhar/archive/2006/11/13/spritebatch-and-renderstates.aspx#9809993</link><pubDate>Tue, 30 Jun 2009 23:00:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9809993</guid><dc:creator>Joey</dc:creator><description>&lt;p&gt;Thanks, this is exactly what I needed.&lt;/p&gt;</description></item><item><title>re: SpriteBatch and renderstates</title><link>http://blogs.msdn.com/shawnhar/archive/2006/11/13/spritebatch-and-renderstates.aspx#9921290</link><pubDate>Thu, 12 Nov 2009 10:50:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9921290</guid><dc:creator>Ulf</dc:creator><description>&lt;p&gt;Wow, this just saved my day! Been digging through my 3D rendering code for the last days, figuring it had to be something crazy going on there, but you hit the spot Shawn.&lt;/p&gt;</description></item><item><title>re: SpriteBatch and renderstates</title><link>http://blogs.msdn.com/shawnhar/archive/2006/11/13/spritebatch-and-renderstates.aspx#9939344</link><pubDate>Sun, 20 Dec 2009 22:01:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9939344</guid><dc:creator>Mihe</dc:creator><description>&lt;p&gt;Five stars ! Another one saved by this article :-)&lt;/p&gt;</description></item><item><title>re: SpriteBatch and renderstates</title><link>http://blogs.msdn.com/shawnhar/archive/2006/11/13/spritebatch-and-renderstates.aspx#9943441</link><pubDate>Mon, 04 Jan 2010 16:22:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9943441</guid><dc:creator>Abe</dc:creator><description>&lt;p&gt;Thanks! This fixed my problem.&lt;/p&gt;</description></item></channel></rss>