<?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: Per pixel lighting</title>
	<atom:link href="http://www.flashbang.se/archives/60/feed" rel="self" type="application/rss+xml" />
	<link>http://www.flashbang.se/archives/60</link>
	<description>Exploring the lighter side of graphics</description>
	<lastBuildDate>Tue, 07 Feb 2012 00:15:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Peter Wallström</title>
		<link>http://www.flashbang.se/archives/60/comment-page-1#comment-12</link>
		<dc:creator>Peter Wallström</dc:creator>
		<pubDate>Tue, 04 May 2010 15:00:47 +0000</pubDate>
		<guid isPermaLink="false">http://tgb.flashbang.se/?p=60#comment-12</guid>
		<description>&lt;strong&gt;-old comments-&lt;/strong&gt;

&lt;strong&gt;Comment by eXile on 2007:08:30 10:37&lt;/strong&gt;
In glsl.frag replace the line:
float fresnel =max((norm.z-0.4)*-1.0,0);

With this one:
float fresnel =max((norm.z-0.4)*-1.0,0.0);

This should resolve a issue with Ati-cards (&quot;no overloaded function max&quot;). :)</description>
		<content:encoded><![CDATA[<p><strong>-old comments-</strong></p>
<p><strong>Comment by eXile on 2007:08:30 10:37</strong><br />
In glsl.frag replace the line:<br />
float fresnel =max((norm.z-0.4)*-1.0,0);</p>
<p>With this one:<br />
float fresnel =max((norm.z-0.4)*-1.0,0.0);</p>
<p>This should resolve a issue with Ati-cards (&#8220;no overloaded function max&#8221;). :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

