Fog

It's a bit embarrassing, but although CopperCube is already in version 5, and now about 7 years old, it still doesn't support fog. (Well unless you add this by writing your own shaders). But fog is a pretty cool feature, especially for the lightweight targets like WebGL and Android. So I started adding this:

It looks very nice, especially when used with terrain. Works also with the reflecting realtime water, I didn't even have to change a line of code for that, interestingly.
This new feature - fog - will be included in the next free update of CopperCube.

three comments, already:

yeah!!!!
bob - 11 09 15 - 11:49

So you just looked stern at the compiled files, and they decided to fog? :)
xaos - 11 09 15 - 13:11

Apparently I already planned for stuff like fog when I wrote the water, so it worked automatically :)
niko - 11 09 15 - 14:40


Name:  
Remember personal info?
yes
no
Email (optional):
URL (optional):
Enter "layered" (antispam):
Comment:Emoticons / Textile

  ( Register your username / Log in )

Notify: Yes, send me email when someone replies.  

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.
Note: If you type in your email adress above, it will be visible to other visitors, although it will be hidden for bots using javaScript.