fix terrain lighting calculate