News for hackers. Stuff that matters.
Re:A chill driving game with procedurally generate scenic la... by anslo on Sunday October 23, 2022 @08:26AM (#33306406)
There is a nice way to set fog to be two-tone - I'll play with that and see what I get. The default Summer mode has quite a distant fog, but the morning/evening weathers are a little mistier.
Re:A chill driving game with procedurally generate scenic la... by cousin_it on Sunday October 23, 2022 @11:04AM (#33307535)
I don't mean fog, I mean just the fact that air is blue, so things get smoothly bluer with distance (or rather, more sky-colored). Check out any mountain landscape, nearby trees are green and distant ones are blue: https://live.staticflickr.com/1009/531101849_a7d297e0cc_b.jp...
Re:A chill driving game with procedurally generate scenic la... by anslo on Sunday October 23, 2022 @11:13AM (#33307621)
True, though in practice that's the way fog is applied in the shader. With the two-tone setup I can have a blue hue in the foreground transitioning into the hard white at the edge of the view dist.