<?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: [Shader Library] Posterization Post Processing Effect (GLSL)</title>
	<atom:link href="http://www.geeks3d.com/20091027/shader-library-posterization-post-processing-effect-glsl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.geeks3d.com/20091027/shader-library-posterization-post-processing-effect-glsl/</link>
	<description>3D Tech News, Pixel Hacking, Data Visualization and 3D Programming</description>
	<lastBuildDate>Sun, 14 Mar 2010 19:12:45 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: JeGX</title>
		<link>http://www.geeks3d.com/20091027/shader-library-posterization-post-processing-effect-glsl/comment-page-1/#comment-8180</link>
		<dc:creator>JeGX</dc:creator>
		<pubDate>Wed, 28 Oct 2009 19:10:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.geeks3d.com/?p=5906#comment-8180</guid>
		<description>you mean:
c = pow(c, gamma.rrr);
in place of
tc = pow(tc, vec3(gamma, gamma, gamma)) ?

If so, it&#039;s just for the sake of clarity.

c = pow(c, gamma.rrr) does not compile with ATI Radeon: 
&quot;Fragment shader failed to compile with the following errors:
WARNING: 0:13: warning(#153) Field selection requires structure, vector, or matrix on left hand side rrr&quot;

but 
c = pow(c, vec3(gamma.rrr))
is okay on Radeon. Funny!</description>
		<content:encoded><![CDATA[<p>you mean:<br />
c = pow(c, gamma.rrr);<br />
in place of<br />
tc = pow(tc, vec3(gamma, gamma, gamma)) ?</p>
<p>If so, it&#8217;s just for the sake of clarity.</p>
<p>c = pow(c, gamma.rrr) does not compile with ATI Radeon:<br />
&#8221;Fragment shader failed to compile with the following errors:<br />
WARNING: 0:13: warning(#153) Field selection requires structure, vector, or matrix on left hand side rrr&#8221;</p>
<p>but<br />
c = pow(c, vec3(gamma.rrr))<br />
is okay on Radeon. Funny!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: n00body</title>
		<link>http://www.geeks3d.com/20091027/shader-library-posterization-post-processing-effect-glsl/comment-page-1/#comment-8179</link>
		<dc:creator>n00body</dc:creator>
		<pubDate>Wed, 28 Oct 2009 18:44:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.geeks3d.com/?p=5906#comment-8179</guid>
		<description>Why didn&#039;t the shader author just smear the gamma value? (ie &quot;gamma.rrr&quot; vs &quot;vec3(gamma, gamma, gamma)&quot;)</description>
		<content:encoded><![CDATA[<p>Why didn&#8217;t the shader author just smear the gamma value? (ie &#8220;gamma.rrr&#8221; vs &#8220;vec3(gamma, gamma, gamma)&#8221;)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
