<include>
	    <?if vars."fog density".float &gt; 0 ?>
	      <texgen type="fog" layer="pea soup"/>
	      <constantcolor layer="pea soup" type="shadervar">fog color</constantcolor>
	    <?endif?>
</include>
