Fog

Posted on:September 11 2015

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.





Comments:


yeah!!!!
bob
Quote
2015-09-11 11:49:00


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


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


Add comment:


Posted by:


Enter the missing letter in: "Interna?ional"


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons