cmd_fog - LiXizhi/ParaCraft GitHub Wiki

command: /fog

quick ref:

/fog [-color|skycolor|fogstart|fogend] values

description:

Change fog color and range  e.g. 
-- if no option specified it will set fogstart
/fog 100    only start fog after 100 meters and end by view_distance
/fog 0.6    if value is smaller than 1, it means 0.6*view_distance
-- change fog color to white, and disable auto fog color according to time
-- this command is only valid for non-simulated sky mesh. 
/fog -color 1 1 1
-- enable auto fog color according to time of day
/fog
-- change the sky's color to white. 
/fog -skycolor 1 1 1
-- fog start distance
/fog -fogstart 80
-- fog end distance
/fog -fogend 100

打开场景中的雾,可以改变雾的颜色和范围大小。