Hey there, Guest. You can login or register here.
 
  • The RPG
    Our up-and-coming web-and-text-based RPG. Play!
The Blog | Mad Splash!

THE BLOG

 

Mad Splash Blog

Battles for Arthos Gets a Fog Pass

posted by RiverForge on 8th Jun 2014, 2:30 PM.

Battles for Arthos Gets a Fog Pass
Arthos is foggy now, and honestly it looks fantastic. ...that emote is sarcasm-proof, but I mean it sincerely this time.

The lowlands got soft, drifting fog and the northern maps picked up a colder tint. It is mostly mood work, but it also does something practical: it helps players read distance during crowded fights.

What actually changed


  • A layered fog volume that thickens near water.

  • A colder color grade above the mountain line.

  • Unit outlines that stay readable even when the screen is soup.



The tricky part was performance. Fog is cheap until you stack ten passes of it, and then your laptop sounds like a jet. We settled on a single blended pass driven by height:

CODE 

float fog = clamp((waterLine - worldY) * density, 0.0, 1.0);
color = mix(color, fogColor, fog);



Here is a before/after grab from the north crossing:



If you spot a spot where the fog eats a unit whole, please yell. Report bugs on https://madsplash.net/community or reply below. We read everything, even the mean ones.
 
 

4 Comments

The north map finally looks cold instead of just blue. Big win.

Posted on 8th Jun 2014, 4:40 PM

Fog eats the unit outlines near water on my machine. See here:

  • zoom in on the river crossing
  • watch the left flank vanish
Not great.

Posted on 8th Jun 2014, 6:05 PM

Confirmed the pink-fog bug at 3am. It is gorgeous and completely wrong.

Posted on 9th Jun 2014, 3:22 AM

Filed the outline issue, thanks Druid. Fix incoming.

Posted on 9th Jun 2014, 9:30 AM

Featured