Replace -ve fogcoef[1] with -10000.0f