example:
ret.Diffuse = max(0, dot(ViewNormal, vecSunDir)); //it may be that you need to use -vecSunDir


www.earthcontrol.de
quoted: We want to maintain a clean, decent, American family suited forum look... which means you may post zombies or chainsaw massacres, but no erotic.