<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>robburke.NET &#187; Effects</title>
	<atom:link href="http://robburke.net/tag/effects/feed/" rel="self" type="application/rss+xml" />
	<link>http://robburke.net</link>
	<description>Robert Burke&#039;s home on the web.</description>
	<lastBuildDate>Wed, 18 Apr 2012 19:15:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>End-to-End Custom WPF Shader Example</title>
		<link>http://robburke.net/2008/05/end-to-end-custom-wpf-shader-example/</link>
		<comments>http://robburke.net/2008/05/end-to-end-custom-wpf-shader-example/#comments</comments>
		<pubDate>Wed, 14 May 2008 05:00:20 +0000</pubDate>
		<dc:creator>Rob Burke</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Effects]]></category>
		<category><![CDATA[LolCat]]></category>
		<category><![CDATA[Pixel Shaders]]></category>
		<category><![CDATA[WPF]]></category>

		<guid isPermaLink="false">http://robburke.net/?p=108</guid>
		<description><![CDATA[Greg is in the middle of writing a great explanation of how to build custom WPF 3.5 SP1 pixel shader effects on his blog. He helped me re-create his sample ColorComplementEffect, so I thought I&#8217;d offer a sample solution containing an end-to-end custom WPF Pixel Shader Effect using the .NET 3.5 SP1 Beta bits. Download [...]]]></description>
			<content:encoded><![CDATA[<p>Greg is in the middle of writing a <a href="http://blogs.msdn.com/greg_schechter/archive/2008/05/12/introduction-to-writing-effects.aspx">great explanation of how to build custom WPF 3.5 SP1 pixel shader effects</a> on his blog.  He helped me re-create his sample ColorComplementEffect, so I thought I&#8217;d offer a sample solution containing an end-to-end custom WPF Pixel Shader Effect using the .NET 3.5 SP1 Beta bits.</p>
<p><a title="WPF Shader Workshop" href="http://www.robburke.net/links/WpfShaderWorkshop_SP1Beta.zip">Download it here</a>.</p>
<p><img style="border: 0pt none ;" src="http://www.robburke.net/images/WpfPixelShaderSample1.jpg" alt="WPF Pixel Shader Effect" width="500" height="188" /></p>
<p>Some notes:</p>
<ul>
<li>This solution requires that you have Visual Studio 2008 and the <a href="http://blogs.msdn.com/tims/archive/2008/05/12/introducing-the-third-major-release-of-windows-presentation-foundation.aspx">.NET 3.5 SP1 Beta</a> installed.</li>
<li>This also requires that you have the <a href="http://msdn.microsoft.com/en-us/directx/aa937788.aspx">DXSDK</a> installed on your PC (I am out-of-date and using the August 2007 flavor)</li>
<li>In my .sln, a Pre-build Event Command invokes fxc.exe to compile ColorComplementShader.fx into ColorComplementShader.ps.  The Pre-build command requires you to have the DXSDK_DIR environment variable set (see previous note &#8211; installing the DXSDK should set this automatically for you)</li>
<li>The picshure is from teh awesum <a href="http://icanhascheezburger.com">icanhascheezburger.com</a></li>
</ul>
<p>Next step&#8230; databound shader parameters :)</p>
<p><strong><a title="WPF Shader Workshop" href="http://www.robburke.net/links/WpfShaderWorkshop_SP1Beta.zip">Download sample solution</a></strong>.</p>
<p>[<strong>14 May 08 Update: </strong><a href="http://blogs.msdn.com/greg_schechter/archive/2008/05/13/a-simple-effect-sample-project-and-clickonce-application.aspx">Greg has posted an end-to-end shader sample</a> with 3 sample shaders!]
]]></content:encoded>
			<wfw:commentRss>http://robburke.net/2008/05/end-to-end-custom-wpf-shader-example/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

