<br><br><div><span class="gmail_quote">On 6/19/06, <b class="gmail_sendername">Jason Green</b> &lt;<a href="mailto:jave27@gmail.com">jave27@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
- Fixes both ARB and GLSL shaders that use fog.<br></blockquote><div><br>Is it really necessary to keep track of whether the shader uses fog or not?<br>What happens if you disable this post-processing for a shader that doesn't write to the fog register? 
<br>Also, how come the ARB version forces the fog value to be &gt; 0, but the GLSL one has both lower and upper limit (clamp to 0,1) ? Shouldn't you use saturate (_SAT) to achieve the same effect?<br><br></div><br></div>