POV-Ray : Newsgroups : povray.binaries.images : Distant Haze - How To? : Re: Distant Haze - How To? Server Time
18 Apr 2024 17:24:35 EDT (-0400)
  Re: Distant Haze - How To?  
From: Thomas de Groot
Date: 27 Apr 2018 03:42:46
Message: <5ae2d476$1@news.povray.org>
The following has worked fairly well for me in the past. Tweak, by all 
means!

#declare NearFogColor = <0.799, 0.799, 0.80>*1.2; //Blueish color
#declare FarFogColor  = <0.90, 0.90, 0.90>; //Light gray horizon color

//Near fog
fog {distance 4000 fog_type 2 fog_offset 25 fog_alt 20 color srgb 
NearFogColor}

//Distant fog
fog {distance 8000 fog_type 2 fog_offset 25 fog_alt 20 color srgb 
FarFogColor-NearFogColor}



-- 
Thomas


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.