<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Pixel Bender Blend Modes</title>
	<atom:link href="http://www.rphelan.com/2009/05/19/pixel-bender-blend-modes/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rphelan.com/2009/05/19/pixel-bender-blend-modes/</link>
	<description>Exploring Flex, Design, and Visualization</description>
	<lastBuildDate>Thu, 12 Aug 2010 00:20:42 -0700</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Gurel Erceis</title>
		<link>http://www.rphelan.com/2009/05/19/pixel-bender-blend-modes/comment-page-1/#comment-6282</link>
		<dc:creator>Gurel Erceis</dc:creator>
		<pubDate>Mon, 13 Jul 2009 10:52:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.rphelan.com/?p=272#comment-6282</guid>
		<description>Bitmap object are created with no transparency by default. By creating them with transparency you can solve the alpha channel issue.
I have tried it with your shaders and it seems to work alright.

Here is the example:
var shader:Shader = new Shader( new myshader() as ByteArray);
var bmp:Bitmap = new image1() as Bitmap;
var bmp2:Bitmap = new image2() as Bitmap;

var bmpdata:BitmapData = new BitmapData(256,256,true);
bmpdata.draw(bmp);
var bmp3:Bitmap = new Bitmap(bmpdata);
			
			
bmp3.blendShader = shader;
bmp3.blendMode = BlendMode.SHADER;
			
this.addChild(bmp2);
this.addChild(bmp3);</description>
		<content:encoded><![CDATA[<p>Bitmap object are created with no transparency by default. By creating them with transparency you can solve the alpha channel issue.<br />
I have tried it with your shaders and it seems to work alright.</p>
<p>Here is the example:<br />
var shader:Shader = new Shader( new myshader() as ByteArray);<br />
var bmp:Bitmap = new image1() as Bitmap;<br />
var bmp2:Bitmap = new image2() as Bitmap;</p>
<p>var bmpdata:BitmapData = new BitmapData(256,256,true);<br />
bmpdata.draw(bmp);<br />
var bmp3:Bitmap = new Bitmap(bmpdata);</p>
<p>bmp3.blendShader = shader;<br />
bmp3.blendMode = BlendMode.SHADER;</p>
<p>this.addChild(bmp2);<br />
this.addChild(bmp3);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gurel Erceis</title>
		<link>http://www.rphelan.com/2009/05/19/pixel-bender-blend-modes/comment-page-1/#comment-6014</link>
		<dc:creator>Gurel Erceis</dc:creator>
		<pubDate>Fri, 03 Jul 2009 11:39:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.rphelan.com/?p=272#comment-6014</guid>
		<description>Great Source!</description>
		<content:encoded><![CDATA[<p>Great Source!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://www.rphelan.com/2009/05/19/pixel-bender-blend-modes/comment-page-1/#comment-4819</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Tue, 19 May 2009 19:40:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.rphelan.com/?p=272#comment-4819</guid>
		<description>The  adobe pdf   specification  documents the formulae for blend modes in the presence of transparency.</description>
		<content:encoded><![CDATA[<p>The  adobe pdf   specification  documents the formulae for blend modes in the presence of transparency.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
